Closed
Bug 797372
Opened 12 years ago
Closed 12 years ago
"TypeError: Value not an object" when assigning null or undefined to an option
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
DUPLICATE
of bug 797113
People
(Reporter: glob, Unassigned)
Details
Attachments
(1 file)
141 bytes,
text/html
|
Details |
it used to be possible to remove an option from a select by assigning it to null. this now throws an error -- "TypeError: Value not an object". document.getElementById('some_select').options[0] = null; this works in all other browsers, as well as firefox 15.
Updated•12 years ago
|
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 12 years ago
Component: JavaScript Engine → DOM: Core & HTML
OS: Mac OS X → All
Hardware: x86 → All
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•