Petit complement d information (en anglais...) que je me permets de copier/coller (http://www.fuel-efficient-vehicles.org/pwsdb/pgm/Exper-notes.php)
J ai aussi eu un probleme avec ce bouton et le "onClick". Maintenant le probleme est resolu... je passe au suivant!
It is almost never mentioned in all the information available on JavaScript but, the scripts that only run in windows' I.E. - like, for instance,
onclick=window.location.href("index.html")
are not Java Script at all but Microsoft's own "thing", "Jscript". Always out to, "do their own thing", despite the need for all browsers to follow standards - and the reason that today web designers use tools that stay away from MS's propriatary abberations - or warn you when you are about to code something that will only work in one browser (IE). The true JavaScript is
onclick="window.location='index.php'" ; (which also works in IE)
or
onclick=window.location="index.php"
Note all the quotes, single and double and, the semicolon.
The quotes around the url is necessary.
The good news is that this one line of code can make an entire line of a complex table clickable to another url.
or ... in a new window
onclick=window.open("index.html")