Skip to main content

Bug Tracker

Side navigation

#2191 closed bug (worksforme)

Opened January 19, 2008 12:02AM UTC

Closed January 19, 2008 01:26AM UTC

$('button').val('New') doesn't work, while $('button').val() does

Reported by: tmm1 Owned by:
Priority: major Milestone: 1.2.3
Component: core Version: 1.2.2
Keywords: Cc:
Blocked by: Blocking:

.val() works on a <button> tag, but .val('value') does not

Attachments (0)
Change History (1)

Changed January 19, 2008 01:26AM UTC by scott.gonzal comment:1

resolution: → worksforme
status: newclosed

I can't reproduce this. Please make sure you're using a current version of jQuery. If you continue to have this problem, please provide a test case.