dcsimg

When the user passes the mouse over a hyperlink, how can I place a message other than the URL in the browser's status bar?

John Zukowski

Use the onMouseOver event handler, as shown:

<a 
  href="http://www.jguru.com/faq/JavaScript"
  onMouseOver="status='JavaScript FAQ'; return true">
    JavaScript FAQ
</a>