Results 1 to 3 of 3

Thread: clear text on click
      
   

  1. #1
    matrixxxxxx1's Avatar
    matrixxxxxx1 is offline Captain
    Join Date
    Apr 2006
    Posts
    221

    Default clear text on click

    hey

    I'm trying to have the text clear automatically once it's clicked
    Anyone know what the html code would be to achieve that? View form here


    Cheers
    Mike

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

    Default Re: clear text on click

    onFocus="if(this.value!='')this.value='';"

    In the Inside Tag of the field HTML
    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
    matrixxxxxx1's Avatar
    matrixxxxxx1 is offline Captain
    Join Date
    Apr 2006
    Posts
    221

    Default Re: clear text on click

    Quote Originally Posted by navaldesign View Post
    onFocus="if(this.value!='')this.value='';"

    In the Inside Tag of the field HTML

    Thnx George

    You Rock

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