Given the following example, I want "Jane Doe" to appear
when the user first views the form, and when he leaves it blank:
// ----------------
<FORM .... >
Name:
<INPUT TYPE="text" NAME="user_name " VALUE="Jane Doe"
SIZE="25" MAXLENGTH="30" REQUIRED="YES">
// ----------------
I presume it needs an event handler
using "onselect" and/or "onblur", or something like that,
but I have no idea what the specifics are,
and I'm trying to avoid creating a function for it!
I figure there *has* to be a simple way of doing the above!
I scoured the net and couldn't find anything useful,
but if you know of a helpful URL, then, by all means,
please tell me what it is!
Any help would be appreciated!
Thanks!
-----
Bond . . . James Bond
Do not reply via e-mail.
The address is phony to prevent spam, etc.
Thank you for understanding.
when the user first views the form, and when he leaves it blank:
// ----------------
<FORM .... >
Name:
<INPUT TYPE="text" NAME="user_name " VALUE="Jane Doe"
SIZE="25" MAXLENGTH="30" REQUIRED="YES">
// ----------------
I presume it needs an event handler
using "onselect" and/or "onblur", or something like that,
but I have no idea what the specifics are,
and I'm trying to avoid creating a function for it!
I figure there *has* to be a simple way of doing the above!
I scoured the net and couldn't find anything useful,
but if you know of a helpful URL, then, by all means,
please tell me what it is!
Any help would be appreciated!
Thanks!
-----
Bond . . . James Bond
Do not reply via e-mail.
The address is phony to prevent spam, etc.
Thank you for understanding.
Comment