hello all, i am making a web page with DHTML and javascript. it works fine in internet explorer, but for some reason buttons' onclick events will not fire in netscape 7.2, though all of the other javascript on the page works fine. are there any web gurus on here that could offer some advice as to what the problem may be? does netscape require the DHTML to be written differently? any help would be much appreciated. thanks for reading, dan l EDIT: i forgot to mention that the controls are created dynamically in the js file, like so: document.writeln("<INPUT type='button' name=calc value='Reset' style='width:80;' onclick='Reset();' ");
I don't know if this can help. I'm not a js expert. The js functions and handlers in any js-scriptblock are casesensitive, but not when used inside html code.. Check your code. ie "onclick" is wrong. "onClick" is correct.
In matters like this I always like to check things out at W3C schools. http://www.w3schools.com/dhtml/dhtml_intro.asp They are quite thorough particularly when pointing out the differences between browsers, and just as importantly they are completely free.