]> source.dussan.org Git - jquery.git/commit
Make .val(undefined) == .val("") and chainable; fixes #4130.
authordmethvin <dave.methvin@gmail.com>
Sat, 21 Aug 2010 02:32:34 +0000 (10:32 +0800)
committerJohn Resig <jeresig@gmail.com>
Fri, 24 Sep 2010 21:57:14 +0000 (05:57 +0800)
commit0636dffc2481c14368464a22ffa1bd8017da2a26
tree199718cb376819016332205bf9df75a381426af5
parentc4e653237f258ce618ad5a9ec677917166fbed16
Make .val(undefined) == .val("") and chainable; fixes #4130.
Ensure .val(null) sets an empty string on IE6/7; fixes #5163.
src/attributes.js
test/unit/attributes.js