ah, ho capito.
Prova cosi'
Codice PHP:function funMostra() {
for (var i=0; i<arguments.length; i++) {
//document.write("c"+i);
if(document.getElementById(arguments[i]).style.display == "none") {
document.getElementById(arguments[i]).style.display = "block";
} else {
document.getElementById(arguments[i]).style.display = "none";
}
}
}

Rispondi quotando