I can't clear the SELECT list with "selectedIndex = -1" in Internet Explorer 8

Posted by ML on Stack Overflow See other posts from Stack Overflow or by ML
Published on 2010-05-02T05:55:10Z Indexed on 2010/05/02 5:57 UTC
Read the original article Hit count: 216

hi :)

after an hour of trying to find a solution, I give up (temporarily). "this.selectedIndex = -1" clears all select element just fine in FF and other browsers, but NOT in Internet Explorer 8.

any idea how to clear select elements in IE?

thanks!

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about JavaScript