•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 423,531 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,338 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1322 | Replies: 3
![]() |
| |
•
•
Join Date: Aug 2006
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
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: </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.
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: </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.
•
•
Join Date: Apr 2005
Location: New York state
Posts: 464
Reputation:
Rep Power: 5
Solved Threads: 72
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.
GCS d- s+:+ a-->? C++(++++) UL+++ P+>+++ L+++ !E--- W+++
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r z+*
N+ o K w++(---) O? !M- V PS+>++ PE+ Y+ PGP !t- 5? X- R tv+
b+>++ DI+ D G++>+++ e+ h+>++ r z+*
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Similar Threads
- sql query problem with MS Access and C# (C#)
- getting values from drop down menu (JSP)
- for validation - text box and drop down menu (JavaScript / DHTML / AJAX)
- Problem with update data to database (JSP)
- Hi,Need help on sql select statement structure (MS SQL)
- recurring spyware/virus problem.. girls.exe etc... (Viruses, Spyware and other Nasties)
- Help, really strange problem (Viruses, Spyware and other Nasties)
- Yet another antispylab problem (Viruses, Spyware and other Nasties)
- Why program works in Dev-C++ and not in VC++ 2005? (C++)
- Hacktool.Rootkit problem (Viruses, Spyware and other Nasties)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Confirmation message
- Next Thread: New to AJAX.


Hybrid Mode