Hi,
Does somebody know how to get data from a textfield (from another html-page)? Please check this example:
login.html
=======
<form method="post" action="verify.html" name="veri">
Username: <INPUT type ="text" name="username">
<p>
Password: <INPUT type ="text" name="password">
<P>
<input type="submit" value=" Log in ">
verify.html
========
username = document.veri.username.value;
password = document.veri.password.value;
if (username =="administrator" && password == "whatever"
{
window.alert ("Yo"!);
}
I hope someone can help me. Thanks!!!
-macluv22
Does somebody know how to get data from a textfield (from another html-page)? Please check this example:
login.html
=======
<form method="post" action="verify.html" name="veri">
Username: <INPUT type ="text" name="username">
<p>
Password: <INPUT type ="text" name="password">
<P>
<input type="submit" value=" Log in ">
verify.html
========
username = document.veri.username.value;
password = document.veri.password.value;
if (username =="administrator" && password == "whatever"
{
window.alert ("Yo"!);
}
I hope someone can help me. Thanks!!!
-macluv22