Scrivo una possibile soluzuzione sapendo che non servira' a quasi nessuno, ciao e grazie
if (document.modulo.user.checked) {
window.open('','nome','width=385,height=215,left=1 93,top=267,location=no')
document.modulo.target="_self";
document.modulo.target="nome";
document.modulo.action="sendobj.php";
document.modulo.submit();
}
else {
scelte = new Array();
var marca = document.modulo.user;
for (var i=0;i<marca.length;i++) {
if (marca[i].checked)
scelte[scelte.length] = marca[i].value;
}
if (scelte.length < 1) {
alert ('selezionare un oggetto');
return false;
}
else {
window.open('','nome','width=385,height=215,left=1 93,top=267,location=no')
document.modulo.target="_self";
document.modulo.target="nome";
document.modulo.action="sendobj.php";
document.modulo.submit();
}
}