| Holland87 2005-12-14, 10:40 pm |
| Hey everyone.
This is more of a coding question than a design question. Below I've attached
the code I'm using for a Login Screen, in which the user enters a Login ID and
a Password. My question is, is it possible to store the "Login ID" they enter
as a variable of some sort, and then call it later (i.e. print the Login ID
they enter on another page)?
Here is the code:
<form name="htform" action="java script:htaction()">
<p>Login ID:
<input name="mtusr" type="text" class="textfield2" id="mtusr"
size="25"><br><br>Password:
<input name="mtpwd" type="password" class="textfield2" id="mtpwd"
size="25"><br><br>
<input type="submit" name="submitbutton" value="Log In" class="textbutton
bmarg" style="margin-left:60px;">
<input type="reset" name="resetb" value="Reset" class="textbutton">
</p>
</form>
Since it's JavaScript, I'm hoping I can use: document.write(some variable) ,
but I'm not sure how I would "save" the Login ID. Make sense?
------
Shane H
http://www.deceptivemagic.com
|