Is there an specific event raised when a button (input type="button") is selected? Or am I being a bit stupid? To capture this I am having to use:
$("#myButton") .bind("keyup", function(event){ if (event.keCode == 13) { //do stuff } }) .unbind() .click(function(){ // do stuff }); Any ideas? Cheers lukek