PDA

View Full Version : default text in a textbox dissapear when you click on it?


mycarolyn2006sbcglobalnet
03-13-2008, 08:58 AM
How do you make the default text in a textbox dissapear when you click on it? Please include the FULL code like <javascript> code here </javascript> and the thing I need to show it like <textarea onmouseover> or something, because I can't figure that out. Anyways, thanks for answering. :)Also, if you could, what are some good flat text/file q&a scripts? Please, not Wak's Ask and Answer

rockinronnie4391
03-13-2008, 01:54 PM
<INPUT type="text" value="Search" onfocus="if(this.value==this.defaultValue) this.value='';">

EnergeticDreams1105
03-13-2008, 06:51 PM
Q&A script: http://raveraverave.co.uk/site/scripts/ask.php