Skip to main content

Bug Tracker

Side navigation

#4568 closed bug (invalid)

Opened April 21, 2009 07:24PM UTC

Closed October 02, 2009 02:03AM UTC

val(value) on select elements only working in IE

Reported by: mooglemoogle Owned by:
Priority: major Milestone: 1.4
Component: core Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

Updated jQuery to 1.3.2 today and found that any .val(value) on a select box would only work in IE. Firefox, Chrome, and Safari in windows and mac would only allow selection of the first item. Followed the code down to the find function which would only return the first option tag underneath the select when called in the jQuery('option', this) call. Calling jQuery(this).children('option') returns all options as it should. (This probably isn't an optimal solution, i realize but i'm not keen on the inner workings of jQuery and am not sure where to follow the code from that point.

Attachments (0)
Change History (3)

Changed May 14, 2009 02:03AM UTC by dmethvin comment:1

Can you attach a test case? I use this all the time and it works fine, but maybe you have a special case.

Changed June 19, 2009 10:02PM UTC by mooglemoogle comment:2

Found the problem. Ended up being a conflict with the validate plugin. Sorry for the hassle.

Changed October 02, 2009 02:03AM UTC by dmethvin comment:3

resolution: → invalid
status: newclosed

Solved, not a jQuery bug.