|
|
 |
Re: FN-FORUM text field
date posted 21st June 2002 15:37
something like
onFocus="if(this.value=='dd/mm/yyyy')this.value=''"
Karl
----- Original Message -----
From: "Richard Watt" [EMAIL REMOVED]
To: "Rob Garbutt" [EMAIL REMOVED]
Sent: Friday, June 21, 2002 1:50 PM
Subject: Re: FN-FORUM text field
Javascript to clear it, off the top of my head something like onFocus
formname.highlights_start_date.value = "" would do the trick.
-- Richard
http://www.rwatt.co.uk
Friday, June 21, 2002, 1:24:30 PM, you wrote:
---------------------------------------
RG> Hi all,
RG> I have an page that inserts data to a database. One of the fields, and
RG> therefore text boxes, is a date one with an initial value of dd/mm/yyyy
like
RG> follows:-
RG>
RG> how would you make it so that as soon as you click the box to make an
entry,
RG> the dd/mm/yyyy disappears?
RG> Robin Garbutt
RG> Portfolio Art & Design Ltd
RG> Tel - +44 (0) 1204 383822
RG> Fax - +44 (0) 1204 383866
RG> Mob - +44 (0) 7811 185490
RG> e-mail - [EMAIL REMOVED]
RG> For further information please visit us at :-
RG> www.portfoliodesign.net
RG> The contents of this e-mail are confidential to the ordinary user of the
RG> e-mail address to which it was addressed and may also be privileged. If
you
RG> are not the addressee of this e-mail you may not copy, forward, disclose
or
RG> otherwise use it or any part of it in any form whatsoever. If you have
RG> received this e-mail in error please e-mail the sender.
RG> ================================================================
RG> = ************************* SilkPHP ************************** =
= --------->> Free PHP Scripts for your web sites = ******************* www.silkphp.com/?fl ******************** =
RG> ================================================================
RG> Sponsor the forum for as little as £1 at:
RG> http://www.freelancers.net/cgi/sponsor.cgi?action=show
RG> Freelancers and Freelance Jobs:
RG> http://www.freelancers.net
RG> Forum FAQs:
RG> http://freelancers.netrickery.com
RG> To unsubscribe please email:
RG> [EMAIL REMOVED]
RG> If you have difficulties unsubscribing please email:
RG> [EMAIL REMOVED]
================================================================
= ************************* SilkPHP ************************** =
= ---------> Free PHP Scripts for your web sites |
 |
|