• Nike free run 2 pink
  • Nike free 5.0 kids
  • Oakley sunglasses discount
  • CodeAve.com CodeAve.com - JavaScript - Forms
    ASP
    JavaScript
    ·Document Info
    ·Forms
    ·Images
    ·Miscellaneous
    ·Navigation
    ·Script Writers
    ·Contents
    ·What's New?
    CSS
    HTML
    Maps
    Links
    Mail List
    Search
    Sitemap


     

  • Retro 3 jordans
  • Jordan 13 retro
  • Nike free 5.0

  • Prefilled Text Box Change
  • Air jordan 11 low
  • New Balance 996
  • Ray ban vintage sunglasses
  • The textbox, which is normally used for input, can be used to display a message. The problem within HTML there is no way to get the default text out without relying on the person deleting what is displayed. JavaScript can easily display a message and when a person clicks on the textbox can “automatically” clear out the message and leave the field empty and ready for input or can display an alternative message.
    View the Output
    Text View
    Print View
    Mail this Link
    Download the Code

    <html>
    <title>CodeAve.com (JavaScript: Textbox Change OnClick)</title>
    <body bgcolor="#FFFFFF">

    <script language=JavaScript>
    <!-- 
    function clear_textbox()
    {
    if (document.text_form.u_input.value == " Enter Your Search Here ")
    document.text_form.u_input.value = "";

    -->
    </script>



    <form name="text_form" action="http://www.codeave.com/html/post.asp" method=post>
    <input name=u_input onFocus=clear_textbox() value=" Enter Your Search Here ">
    <input type=submit value=Submit>
    <input type=reset>
    </form>


    </body>
    </html>

     

     

     



    ASP: What's New? | Articles | Script Writers | Database Display | Read/Write
    Server Variables | Response Objects | Random Events | Miscellaneous
    HTML: Forms | Hyperlinks | Headers | Tables | Hyperlinks | Headers | Text Display
    JavaScript: Document Info | Forms | Images | Navigation | Script Writers
    CSS: Basics | Page Display | Text Display | Script Writers | Miscellaneous
  • 2014 michael kors
  • air max women 2013
  • 2014 michael kors
  • air max 2014
  • oakley glasses
  • oakley glasses

  • Maps: Map Script Writers | Bing Maps | Google Maps
  • bottes fr
  • ugg boot
  • Privacy Statement

    CodeAve.com is hosted by MyHosting.com
    Donate Food Online with a Mouse Click at TheHungerSite.com
    Donate Land Online with a Mouse Click at TheRainForestSite.com
    © 1999 - 2017 CodeAve.com
    All Rights Reserved

    jordan 11 gamma Nike KD VI lebron 11 low