Skip to main content

Bug Tracker

Side navigation

#6915 closed bug (invalid)

Opened August 18, 2010 05:33PM UTC

Closed August 19, 2010 12:23AM UTC

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:
Description

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

Attachments (0)
Change History (1)

Changed August 19, 2010 12:23AM UTC by dmethvin comment:1

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.