|
From: Bart Van der Donck on 24 Apr 2008 04:08 Tony wrote: > That wasn't the problem - I had rechecked the path & capitalization. > > Finally figured it out. There was a variable named 'class' in the > file. Apparently, IE doesn't like that. Changing it to 'classname' > fixed the problem. Then you are lucky this time. But 'classname' is also reserved; best to rename it again. -- Bart
From: Evertjan. on 24 Apr 2008 04:22 Bart Van der Donck wrote on 24 apr 2008 in comp.lang.javascript: > Tony wrote: > >> That wasn't the problem - I had rechecked the path & capitalization. >> >> Finally figured it out. There was a variable named 'class' in the >> file. Apparently, IE doesn't like that. Changing it to 'classname' >> fixed the problem. > > Then you are lucky this time. But 'classname' is also reserved; best > to rename it again. 'className' is, not 'classname'. -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
From: Bart Van der Donck on 24 Apr 2008 05:36 Evertjan. wrote: >> But 'classname' is also reserved; best to rename it again. > > 'className' is, not 'classname'. Correct - but I think it's still better to not use it, in order to avoid confusion and to play safe. Note that 'className' was identical to 'classname' until Internet Explorer 4 and Netscape Navigator 6: http://safari.oreilly.com/1565923928/JSCRIPT-PT-1 (last paragraph) -- Bart
From: Evertjan. on 24 Apr 2008 05:41 Bart Van der Donck wrote on 24 apr 2008 in comp.lang.javascript: > Evertjan. wrote: > >>> But 'classname' is also reserved; best to rename it again. >> >> 'className' is, not 'classname'. > > Correct - but I think it's still better to not use it, in order to > avoid confusion and to play safe. You're right. > Note that 'className' was identical > to 'classname' until Internet Explorer 4 and Netscape Navigator 6: > http://safari.oreilly.com/1565923928/JSCRIPT-PT-1 (last paragraph) Not my oracle! -- Evertjan. The Netherlands. (Please change the x'es to dots in my emailaddress)
From: Bart Van der Donck on 24 Apr 2008 05:48 Evertjan. wrote: > Bart Van der Donck wrote on 24 apr 2008 in comp.lang.javascript: >> Note that 'className' was identical >> to 'classname' until Internet Explorer 4 and Netscape Navigator 6: >> http://safari.oreilly.com/1565923928/JSCRIPT-PT-1(last paragraph) > > Not my oracle! Mine neither :-) I doubt if 'className' would have been supported anyhow in those browsers. -- Bart
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: setting footer of a html page without changing pagesetup Next: Google Toolbar problem |