...

View Full Version : what do mean by "return true"command ?



tweet
02-02-2004, 04:07 AM
<a href="blabla.htm" onmouseover="status='Do not click here, its empty!';return true" onmouseout="status=' '">Don't Click Here</a>

what is return true?

glenngv
02-02-2004, 07:53 AM
Let's make this straightforward...
When you move your mouse over anchor links, by default, it will display the url of that link in the status bar. By putting onmouseover handler and setting window.status and return true, you will override that default behavior.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum