I have an html button that is being rendered as HTML like such:
<input type="button" value="Select" onclick="javascript:__doPostBack('ctl00$ContentPlaceHolder1$gvAttendants','Select$0')" />
I'm attempting to use JQuery to suppress the click event of the above input tag, but I can't figure out how to do it! The button still does a postback, and I don't want it to.
Here's my JQuery code:
$("input[type='button'][value='Select']").click(function($e) {
$e.preventDefault();
});
Any suggestions?