]> source.dussan.org Git - jquery.git/commit
Don't have .val() return selected-but-disabled options, or selected options inside...
authorDave Methvin <dave.methvin@gmail.com>
Fri, 24 Sep 2010 21:26:22 +0000 (17:26 -0400)
committerjeresig <jeresig@gmail.com>
Fri, 24 Sep 2010 21:26:22 +0000 (17:26 -0400)
commit2c4b20809e5d32e916c479c9b63a6b7528c880ce
tree88bf846405c1d52085cf4d9ec61010ca072a348f
parent700ff05af0d30722dcc23a69849bfb278fdc7e75
Don't have .val() return selected-but-disabled options, or selected options inside a disabled optgroup. Doesn't change the .val() returned for a disabled select. Fixes #3240, adapted from Nathan Hammond's patch there.
src/attributes.js
test/index.html
test/unit/attributes.js
test/unit/event.js
test/unit/selector.js
test/unit/traversing.js