value properties in INPUT field
Hi, I have another cross-browser problem.
In my page I have this fileld
<input type="password" name="photoPassword">
inputPasswordField = document.getElementById("photoPassword");
oXmlHttp.open("get", "./checkPass.php?IDFoto=" + idArray[curImage] + "&Pass=" + inputPasswordField.value, true);
There's no problem with Opera and Internet Explorer, but when I try to use Firefox I receive this message: "Error: inputPasswordField has no properties".
In the Ajax book I'm reading there is a sample code which use the value properties on an INPUT field and it works, but it access in this way:
There's so many differents between two methods?
Thanks again for help