ciao a tutti,
ho un problemino che non riesco proprio a risolvere. posto il codice:
codice:
<script language="javascript">
function lancia(url, titolo, larghezza, altezza, barre) {
var w = screen.width;
var h = screen.height;
var x = Math.round(w / 2) - Math.round(larghezza / 2);
var y = Math.round(h / 2) - Math.round(altezza / 2);
finestra = window.open (url, titolo, 'left=' + x + ',screenX=' + x + ',top=' + y + 'screenY=' + y +',width=' + larghezza + ',height=' + altezza + ',scrollbars=' + barre);
}
</script>
<form name="frm_test" id="frm_test" method="post" action="javascript:lancia('optest.php','test',350,160,'no')">
si: <input name="optest" type="radio" value="1">
no: <input name="optest" type="radio" value="0">
<input type="button" value="invia" onClick="frm_test.submit()">
</form>
purtroppo, in questo modo, la pagina optest.php non riceve i parametri passati dal form.
Come si può ovviare al problema? :master: