Here is my code:
$('#continue').click(function() {
$('input[type=submit]', this).attr('disabled', 'disabled');
});
This disables the submit button and it works in Firefox and IE. But it doesn’t work in Chrome or most likely Safari.
EDIT: I want the button reenabled when a particular link is clicked. I have this:
$("#continue").removeAttr("disabled");
but it doesn’t work in Chrome.
It works fine for me: http://jsfiddle.net/YEZS7/