Open GoogleCodeExporter opened 8 years ago
[deleted comment]
[deleted comment]
The problem is that when setting 'disabled' to any value, even an empty string,
the disabled attribute is set on the element.
I would suggest the following:
if ($e.is(':text')) {
if (s) {
$e.attr('disabled', 'disabled');
} else {
$e.removeAttr('disabled');
}
}
Regards,
Huberto
Original comment by Huberto....@gmail.com
on 18 Apr 2012 at 10:54
Original issue reported on code.google.com by
jesper.s...@gmail.com
on 13 Mar 2012 at 2:09