Old 9th March 2005, 16:41   #1
protegechris
Forum Queen
 
protegechris's Avatar
 
Join Date: Feb 2004
Posts: 6,635
(Simple) html question..

How would I go about making a text input area have text in it when loaded, but when you click the text erases so you can type?

http://www.indiebandradio.com/playli...lbarsearch.php

A box like that one.

yeah, i'm back.
protegechris is offline   Reply With Quote
Old 9th March 2005, 17:02   #2
anubis2003
Forum King
 
anubis2003's Avatar
 
Join Date: Dec 2002
Location: middle of somewhere
Posts: 5,564
Send a message via AIM to anubis2003
Using Javascript.

<input type="text" name="NAME" value="DEFAULT VALUE" onselect='this.value=""'>

Didn't try that out, but that should work I think
anubis2003 is offline   Reply With Quote
Old 9th March 2005, 17:09   #3
protegechris
Forum Queen
 
protegechris's Avatar
 
Join Date: Feb 2004
Posts: 6,635
Thanks, worked

yeah, i'm back.
protegechris is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Community Center > General Discussions

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump