Hi

Hope is the correct forum, let me know if I should move it.

For work I need to use an internal website the problem I have is that since I upgraded IE7 I cannot see it correctly, looking at the source I can see the script below

<label for="supGrpSrch">Search on:&nbsp;</label></td><td><select name="supGrpSrch" onchange="javascript:setOrigImage(document.forms[0].descImg1)" ><option value="0" label="supGrpSrch0" >Group</option><option value="1" label="supGrpSrch1" >Group description</option><option value="2" label="supGrpSrch2" >Supplier number</option></select>

So I think I should see the Value not the label value.

Below is what I can see in IE7

[IMG]http://img248.imageshack.us/img248/275/scripyz3.th.jpg[/IMG]

Below what I should see taken from Firefox.

[IMG]http://img248.imageshack.us/img248/1359/correctuy2.th.jpg[/IMG]

Thanks in advance.

In Internet Explorer 7, the 'label' property is equivalent to the innerText property in Firefox. So Firefox ignores the label property and uses innerText (Group) whereas IE sees the label property(supGrpSrch0) and overrides the innerText.

HI

thanks for that,

Is there a way to fix that in IE7, other than editing the page that I know won't be done, maybe with a plug-in or any other way.

Thanks

Yeah, take out the label attribute. It's not serving any purpose in firefox or IE

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.