• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 902
  • Last Modified:

hide href in the window status

is there a way to hide the "javascript:bla()" that display in the status bar
when mouse over the link?

something like that:


<script>
function noStatus()
{
      window.status = ""
}
</script>
<a href="javascript:bla()" onmouseover="noStatus()">fgfdgfd</a>
0
eladr
Asked:
eladr
1 Solution
 
BustaroomsCommented:
you have to return true otherwise it wont work

<a href="javascript:bla()" onmouseover="noStatus();return true;">fgfdgfd</a>

also, you shouldn't use the "javascirpt:bla()" syntax.  proper coding is

<a href="#" onclick="bla();" onmouseover="noStatus()">fgfdgfd</a>
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now