What is the correct way to have the option tag default value set in IE6?
I’ve tried doing
<option SELECTED>
<option selected='selected'>
<option selected='true'>
none of them work in ie6, any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Depends on the doctype. If HTML, then you need
If XHTML (i.e. HTML massaged into XML flavor), then you need
If still in vain, then the problem lies somewhere else. You’ll need to post an SSCCE then, for example:
This shows “label2” as selected option in all browsers, including IE6.