74
rated 0 times
[
80]
[
6]
/ answers: 1 / hits: 19078
/ 13 Years ago, wed, july 27, 2011, 12:00:00
How do you enable or disable a select tag after selecting an option from the first select tag in jQuery, but current version is not working.
$(select[name='selectALPHA']).change(function () {
if ($(select[name='selectBRAVO'].attr('enabled') == false {
$(select[name='selectBRAVO']).attr('enabled', 'true');
}
else
{
$(select[name='selectBRAVO']).attr('enabled', 'false');
}
});
More From » jquery