Gustavo Marin schrieb:
I've tried, and the way i found to do it is like this:

$Calculate = $("#Calculate");

then you check the other vars and enable/disable it with:

$Calculate.attr("disabled", "true");
or
$Calculate.removeAttr("disabled");

removeAttr("disabled") and attr('disabled', false) will both work, so I don't see the need for an extra variable.

http://stilbuero.de/demo/jquery/disabled.html



-- Klaus

Reply via email to