Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

IE Select boxes shrink 1

Status
Not open for further replies.

maharg

Technical User
Mar 21, 2002
184
Hi folks

My web page works OK in Firefox, but in IE the select boxes loose their content after I choose an option from the 1st one.

Never seen this before - any ideas?

See
I seem to have a JS bug in the innerHTML section too, which I'm struggling to locate - the JS crashes in IE. Maybe the two are connected, but I'm failing to see it.

Thanks in anticipation!
 
IE seems to be complaining about getting the element with an ID of "discount". While this element is on the page, so is a different element with a name of "discount".

Unfortunately, one of the stupid things that IE does is to give some elements that have a NAME attribute an ID attribute with the same value. This would mean your page would have two elements with the same ID - which is not good.

Try renaming either the ID attribute of one, or the NAME attribute of the other and see how you go.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
Spot on, Dan!
Many thanks indeed.

Graham
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top