View Full Version : Form Field text

03-16-2008, 12:17 AM
I have a form.

I want it to say "Enter email here" in the box but disappear when
you click to fill it in... we've all seen it and it's easy I'm sure...

So... let me into your dirty little secret...

Rob ;)

03-16-2008, 08:20 PM
Javascript, pretty cool to learn, you should check it out.
<input type="text" value="Enter Email here" onClick="this.value='';">

03-16-2008, 09:06 PM
Cheers domedia...

Javascript looks crazy... I'm working on CSS & HTMl still - give me chance! haha... ;)

03-17-2008, 07:13 PM
I'm working on CSS & HTMl still

then you have...

PHP, ASP, .NET, JSP, COLDFUSION, PERL, SQL, XML, DTD, DOM, XSL, XSLT, XSL-FO, XPath, XQuery, XLink, XPointer, XForms, SOAP, WSDL, RDF, RSS, WAP, Web Services, AJAX, E4X, WMLScript

hehehe < (not another language..)

03-17-2008, 08:13 PM
Just as I was starting to feel a little wiser... DJ brings me crashing to earth ::)

03-17-2008, 08:28 PM
he he


don't worry about the above

its good to know whats available to you so please read up on what they do but you don't have to nail them all. Just when you think... ah. i know what would be good here.

03-18-2008, 11:06 AM
I think that's half the battle - knowing what does what.
If I see a certain element of a site I want to recreate and it will take me 4 days in HTML then find it's a standard operation in BOZO Script!