Skip to main content

Bug Tracker

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 john comment:1

resolution: → fixed
status: newclosed

Changed December 22, 2009 06:29AM UTC by john comment:2

Changed December 22, 2009 07:04AM UTC by john comment:3

That extra logic wasn't necessary, we can just use .val() instead.

http://github.com/jquery/jquery/commit/e87b090cb706b495b6c48e960d6c059c7fbddbd9