Bug Tracker

Opened 15 years ago

Closed 14 years ago

#2251 closed bug (duplicate)

"could not set the selected property" error in IE when manipulating SELECTs

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

Description

Internet Explorer (6, at least), seems to have serious trouble manipulating SELECTS, especially setting the selected property. If I use jQuery to add options to an empty select and then set the selected value, I get the "could not set the selected property" error, which core-dumps IE.

Another report (w/ sample code): http://groups.google.com/group/jquery-en/browse_thread/thread/2902a4393f93df52

More examples: http://www.google.com/search?q=%22could+not+set+the+selected+property%22+jquery&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a

Change History (2)

comment:1 Changed 15 years ago by zaadjis

seems i posted a dupe #2252 (test case and patch attached), my bad.

comment:2 Changed 14 years ago by dmethvin

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.