The following JQuery function is not working entirely. IE 7 processes both alerts, but FF 3.0.10 only the first alert is fired. What did I do incorrectly?
function submitClick() {
var submitButton = '#<%=SubmitButton.ClientID%>';
alert('got here');
$(submitButton).click(function() {
alert('got here too');
$.blockUI({ message: $('#process-message') });
});
}
Also, I called alert($(submitButton)); and this does return an "Object object" in FF.