Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How can I give a tool tip for the button


Message #1 by google s <googlesxyz@y...> on Thu, 16 Aug 2001 20:14:29 -0700 (PDT)
--- google s <googlesxyz@y...> wrote:
> Hi everybody,
> 
>            I have a question about tool tip for the
> button.
> 
> ex: 
> <input type=button value="process">
> 
> If I want to give a tool tip for the above process
> button as 'process this order', how can I do that?
> 
> I know for image in HTML, we can give a tool tip
> with
> 'alt' attribute.<img src="abc.gif" alt="click here">
> 
> Could you please tell me, How can I give the tool
> tip
> for button ?
> 
> Thanks for all your cooperation.
> 
> 
> ---

  It's simple:
  <input type=button name="mybutton" value="process"
onmouseover="mybutton.title='My Text Goes Here'">
  GOOD LUCK!




  Return to Index