Am 12.09.2010 13:42, schrieb Marc Delisle:
Michael,
I also need to do
.attr('onchange', '')
otherwise the code inside onchange executes.
Okay, but this is not really jQuery?!
Unbinding an event should do it:
$('#id_of_the_element').unbind('change');
And binding a new event:
$('#id_of_the_element').bind('change', function() { ... });
Perhaps you can try:
$('#id_of_the_element').bind('change', null);
Michael