Personal tools
You are here: Home   Bugs   'select' tag's selected option can't be preselected with IE  
 
Document Actions

#1 — 'select' tag's selected option can't be preselected with IE

State Rejected
Release:
Area Browser incompatibility
Issue type Bug
Severity Medium
Submitted by (anonymous)
Submitted on 2007-06-18
Responsible Balazs Ree
Target release:
Return to tracker
Last modified on 2007-07-19
When the server use replaceInnerHTML or insertHTMLBefore to return some HTML like::

  <select name="name">
    <option>1</option>
    <option selected="selected">2</option>
  </select>

the browser can display the select. The problem is: with IE, option 1 is pre-selected, but not option 2.

It works well with firefox.
Added by Balazs Ree on 2007-06-18 17:40
This seems like a but in IE, not in kss.

Furthermore I don't think we can do anything to help this. Kss's job ends with inserting the html into the page. We cannot change the way IE is broken.

Because of this, I reject this issue. (Or at least I will, asap I can fix the tracker to allow me.)
Added by Balazs Ree on 2007-06-27 15:31
Issue state: unconfirmedrejected
Responsible manager: (UNASSIGNED)ree
See my previous remark, based on this I believe this is not a bug in kss.
Added by (anonymous) on 2007-07-19 14:49
Easiest solution: don't use replaceInnerHTML with IE, because it's buggy. However, replaceHTML works.

Regards,
Daniel
Added by (anonymous) on 2007-07-19 15:04
Easiest solution: don't use replaceInnerHTML with IE, because it's buggy. However, replaceHTML works.

Regards,
Daniel
Added by (anonymous) on 2007-07-19 15:14
Easiest solution: don't use replaceInnerHTML with IE, because it's buggy. However, replaceHTML works.

Regards,
Daniel
Added by (anonymous) on 2007-07-19 15:27
Easiest solution: don't use replaceInnerHTML with IE, because it's buggy. However, replaceHTML works.

Regards,
Daniel
Added by (anonymous) on 2007-07-19 16:58
Easiest solution: don't use replaceInnerHTML with IE, because it's buggy. However, replaceHTML works.

Regards,
Daniel