Side navigation
#5697 closed bug (fixed)
Opened December 22, 2009 05:24AM UTC
Closed December 22, 2009 05:24AM UTC
Last modified December 22, 2009 07:04AM UTC
.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
Attachments (0)
Change History (3)
Changed December 22, 2009 05:24AM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Changed December 22, 2009 06:29AM UTC by comment:2
Changed December 22, 2009 07:04AM UTC by comment:3
That extra logic wasn't necessary, we can just use .val() instead.
http://github.com/jquery/jquery/commit/e87b090cb706b495b6c48e960d6c059c7fbddbd9
Fixed.
http://github.com/jquery/jquery/commit/261b7efb5f86a5c9a3de8434f3cad858101e4249