Having problem with the following HTML code in IE7, everything works fine in IE6:
<option value='215001' label='250000,15,10,1'>This is a test</option>
In IE6 I see “This is a test” in the drop down list so that the user can make the selection but in IE7 I see '250000,15,10,1' in the drop down list instead of “This is a test”. I been trying to figure out why is this happening??? So if someone could please help me out with this...Appreciate yr time & effort…thanks!
jgill
0
Newbie Poster
Recommended Answers
Jump to Postyou are using label attribute in option which will be preferred by IE 7, if you want to show “This is a test” so use this in label=” This is a test” or remove label attribute from tag
actually label attribute use in <optgroup>label - Defines …
All 3 Replies
katarey
27
Junior Poster
jgill
0
Newbie Poster
MattEvans
473
Veteran Poster
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.