Results 1 to 3 of 3

Thread: self erase text from edit box in form
      
   

  1. #1
    linceman's Avatar
    linceman is offline Master Sergeant
    Join Date
    Jul 2010
    Location
    Alicante, Spain
    Posts
    60

    Question self erase text from edit box in form

    Hi Everyone...

    I was wondering if it would be possible to get the text from an edit box to erase by itself when someone entered the information.

    http://www.alfaaudiovisual.com/service.php

    I have this page and I would like the text to go by itself instead of having to erase it manually....

    Thx everybody in advance for the advice...

    Linceman

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default Re: self erase text from edit box in form

    Add teh following in the Inside Tag of each field HTML:

    onFocus="if(this.value=='Please type your Keyword')this.value='';" onBlur="if(this.value=='')this.value='Please type your Keyword';"
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!


  3. #3
    linceman's Avatar
    linceman is offline Master Sergeant
    Join Date
    Jul 2010
    Location
    Alicante, Spain
    Posts
    60

    Default Re: self erase text from edit box in form

    wonderful.... it works beautifully

    great help as usual

    Thank you very much

    Cheers

    Linceman

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49