Hi,
I have this code in my HTML document and I would life to bind click event on such elements.
<gui:button id="btnTest">
<label>Compose mail</label>
<click>someaction()</click>
</gui:button>
I tried this two methods in my document.ready function, but none of them work
$('gui\:button').click(function() { alert('clicked'); });
$('button').click(function() { alert('clicked'); });
Is there any other way to bind click event to such elements?