PDA

View Full Version : Form Field text


Rob_Che
03-16-2008, 01: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 ;)

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

Rob_Che
03-16-2008, 10:06 PM
Cheers domedia...

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

davidj
03-17-2008, 08: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..)

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

davidj
03-17-2008, 09:28 PM
he he

Na

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.

Rob_Che
03-18-2008, 12:06 PM
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!