Ciao.
Ho questo semplice script:
Codice PHP:
<html>
<
head><title>DOM equals greatness</title>
<
script type="text/javascript">
function 
displayInfo(whatinfo){
var 
info document.createElement("p");
document.body.appendChild(info);
switch(
whatinfo){
case 
"attributes":
var 
text "You have getAttribute and setAttribute. getAttribute takes one argument, setAttribute takes two.";
break;
case 
"tree":
var 
text "There are two functions: getElementsByTagName, which returns an array, and getElementById, which returns a single element based on the id attribute.";
break;
case 
"god":
var 
text "There are many functions. createElement, appendChild, insertBefore, createTextNode, and removeChild.";
break;
}
info.innerHTML text;
}
</script></head><body>
<form action="formaction" method="post">
Methods in the DOM: <select name="selection">
<option value="attributes" onclick="displayInfo(this.value)">Attributes</option>
<option value="tree" onclick="displayInfo(this.value)">Traversing the Tree</option>
<option value="god" onclick="displayInfo(this.value)">Creating and destroying nodes</option>
</select>
</form>
</body></html> 
In FF funziona in IE no e non so spiegarmi perchè
c'è qc che me lo spiega
Mi piacerebbe sapere come fare per togliere
quel orribile onclick sulle options usando js
non intrusivo qc suggerimento

Statemi bene.