nothingrows said the following on 1/27/2006 5:23 AM:
Please quote what you are replying to.
If you want to post a followup via groups.google.com, don't use the
"Reply" link at the bottom of the article. Click on "show options" at
the top of the article, then click on the "Reply" at the bottom of the
article headers.
onblur="if(this.value=='')this.stle.display='none' ;" or
onblur="if(this.value=='')this.stle.visibility='hi dden';"
add this code in your all inputs.
No. Do not add that code to all your inputs. Use the onsubmit handler to
trigger a function that will loop through the inputs and hide the ones
that aren't used.
if cursor click and not wrotes something than cursor moves
other input, former input will hide.
And if the user accidentally hits the tab key and moves to the next
field? They have no way to correct the mistake.
Or, if they do not click into the input at all? They are left visible.
--
Randy
comp.lang.javascript FAQ -
http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices -
http://www.JavascriptToolbox.com/bestpractices/