Bug Tracker

Opened 12 years ago

Closed 12 years ago

#6915 closed bug (invalid)

val(#) no longer matches text node of option with a different value attribute

Reported by: twophayse Owned by:
Priority: Milestone: 1.4.3
Component: manipulation Version: 1.4.2
Keywords: .val() Cc:
Blocked by: Blocking:


Given this markup: <select id="dobmonth"> <option value="01">January</option> <option value="02">February</option> </select>

$('#dobmonth').val($.month_name); Worked in 1.3.2

Now $('#dobmm').val($.month); is needed for 1.4.2

Change History (1)

comment:1 Changed 12 years ago by dmethvin

Resolution: invalid
Status: newclosed

Can you reopen the ticket and attach a complete html file with Javascript that demonstrates the problem? Your snippet doesn't define #dobmm and there is no $.month or $.month_name in jQuery.

Note: See TracTickets for help on using tickets.