Ho un problema con il seguente codice..
Ho una tabella contenente il seguente form
Codice PHP:
<input name="id" type="text" size="8" maxlength="8" class="L1">
<input name="pass" type="password" size="8" maxlength="8" class="L1">
<p class="P4">
[url="#"]Entra[/url]
[url="#"]Registrati[/url]
</p>
La funzione login() è
Codice PHP:
function login () {
user = document.getElementById("id").value;
pasw = document.getElementById("pass").value;
var myImg=new Image();
myImg.src='login.php?User='+user+'&Pasw='+pasw;
}
Il problema è che non ho nessun valore in "user"!