Hello folks,
I have a shuttle item on my page and I would like to call a javascript event (onclick) everytime when any control button is pressed.
How can I assign an onclick event to these control buttons ("Reset","Move All","Move","Remove","Remove All") ? Based on page source they don't have a tag ID name, so I can't reference them - or I don't know how to reference it.
For onClick and onDoubleClick events on both LEFT and RIGHT side of shuttle I'm using a below script in POST ELEMENT TEXT section.
<script type="text/javascript">
(function(){
$x("#CURRENT_ITEM_NAME#").onclick = new Function("f_CountSMS();");
$x("#CURRENT_ITEM_NAME#").ondblclick = new Function("f_CountSMS();");
})();
</script>
Kind Regards,
Tomas