tootltip for HTML input textbox

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roman

    #1

    tootltip for HTML input textbox

    Is there any way to display a tooltip when the user puts their mouse over an
    input box?

    Thanks


  • Hywel Jenkins

    #2
    Re: tootltip for HTML input textbox

    In article <cosj4f$dgq$1@o nline.de>, spam@spam.de says...[color=blue]
    > Is there any way to display a tooltip when the user puts their mouse over an
    > input box?[/color]

    <input title="Somethin g here" ...>

    --
    Hywel http://kibo.org.uk/
    I do not eat quiche.

    Comment

    • Grant Wagner

      #3
      Re: tootltip for HTML input textbox

      Roman wrote:
      [color=blue]
      > Is there any way to display a tooltip when the user puts their mouse over an
      > input box?
      >
      > Thanks[/color]

      Nothing to do with JavaScript:

      <form name="myForm">
      <input type="text" name="myInput" title="This is my input box">
      </form>

      <form name="myForm">
      <label for="myInputId" title="This is my test input">
      Label:
      <input type="text" id="myInputId" name="myInput">
      </label>
      </form>

      Works in IE6, Opera 7+, Gecko-based browsers.

      --
      Grant Wagner <gwagner@agrico reunited.com>
      comp.lang.javas cript FAQ - http://jibbering.com/faq

      Comment

      Working...