#5697 closed bug (fixed)
.val() doesn't work with empty value
Reported by: | john | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.4 |
Component: | core | Version: | 1.4a2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Trying to get an empty value is impossible: http://groups.google.com/group/jquery-dev/t/db8554d10e2c1899
Change History (3)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
That extra logic wasn't necessary, we can just use .val() instead. http://github.com/jquery/jquery/commit/e87b090cb706b495b6c48e960d6c059c7fbddbd9
Note: See
TracTickets for help on using
tickets.
Fixed. http://github.com/jquery/jquery/commit/261b7efb5f86a5c9a3de8434f3cad858101e4249