Interactive login... nothing fancy really
Posted: Sat May 17, 2003 9:43 am
One line of code that i need some directive in...
i think this can be done in java script and i dun care really php would be nice... but i really don't mind
This is my login form... because of space onstraints i wish to give an initial value to fields... hence you will see
BUT... as you can see you have to select the words and then put things in...I would like to be able to click and the whole field resets to blank....
thx so much...
i think this can be done in java script and i dun care really php would be nice... but i really don't mind
Code: Select all
<tr>
<form action="auth.php" method="post">
<!-- <table border="0" cellspacing="0" cellpadding="3"> -->
<td colspan="2"><b>Login:</b></td>
<tr>
<td><input type="text" size="16" name="username" value="Username"></td>
</tr>
<tr>
<td><input type="password" name="passwd" size="15" value="123"></td>
</tr>
<tr>
<td align="left">
<input type="submit" value="Submit">
</td>
</tr>
<!-- </table> -->
</form>
</tr>BUT... as you can see you have to select the words and then put things in...I would like to be able to click and the whole field resets to blank....
thx so much...