SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    Non-Member Pixel Junky's Avatar
    Join Date
    Dec 2002
    Location
    Columbiana, Ohio.
    Posts
    204
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    on click disapear in text field

    I need code for on click in a text field i.e. search engine field, the initial text displayed by me disapears. I think its done with JS
    thanks in advance

  2. #2
    SitePoint Wizard silver trophy Crazybanana's Avatar
    Join Date
    Mar 2003
    Location
    In tha fruit cellar
    Posts
    1,379
    Mentioned
    32 Post(s)
    Tagged
    1 Thread(s)
    here ya go onfocus="this.value=' ';"
    Who's to doom when the judge himself is dragged before the bar


  3. #3
    Web-coding NINJA! silver trophy beetle's Avatar
    Join Date
    Jul 2002
    Location
    Dallas, TX
    Posts
    2,900
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Read this first, before you do anything else

    http://www.youngpup.net/?request=/articles/labels.xml
    beetle a.k.a. Peter Bailey
    blogs: php | prophp | security | design | zen | software
    refs: dhtml | gecko | prototype | phpdocs | unicode | charsets
    tools: ide | ftp | regex | ffdev





Bookmarks

Posting Permissions

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