Basic JavaScript Question:
Download Questions PDF

How to have the status line update when the mouse goes over a link (The support of the status line is sporadic)?

Answer:

<a href="javascript.shtml"
onmouseover="window.status='Hi There!';return true"
onmouseout="window.status='';return true">Look at the Status bar</a>

Look at the Status bar as your cursor goes over the link.

Download JavaScript Interview Questions And Answers PDF

Previous QuestionNext Question
How to have an element invoke a JavaScript on selection, instead of going to a new URL?Explain unescape() and escape() in JavaScript?