Salve.
Cortesemente mi spiegate perché questo codice:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title></title>
<script language="javascript">
function invia(){
var valore = document.form1.valore.value;
location.href="pagina.php?codice_utente="+valore;
}
</script>
</head>
<body>
<form name="form1" method="GET">
<input name="valore" value="ciao"/>
<input type="button" name="" value="invia" onClick="invia();" />
</form>
</body>
</html>
Con firefox funzione mentre con Internet explorer 9 no? Aviiene il collegamento mentre ma sia il nome che il valore dalla variabile ( compreso il ? ) non vengono visualizzati.
Grazie