ciao a tutti
mi spieghereste in "parole povere" cosa fa questa funzione? grazie mille
function pluto(){
var frm = null;
if (document.forms.length == 0) return false;
if (arguments.length == 0){
frm = document.forms[0];
} else if (arguments.length == 1) {
frm = document.forms[0];
if (frm.elements['PIPPO']) frm.elements['PIPPO'].value = arguments[0];
} else {
for (i=0; i < document.forms.length; i++){
if (document.forms[i].name == arguments[1]){
frm = document.forms[i];
if (frm.elements['PIPPO']) frm.elements['PIPPO'].value = arguments[0];
break;
}
}
}
if (!frm) return false;
frm.submit();
}