Solved

hide href in the window status

Posted on 2004-03-22
1
877 Views
Last Modified: 2008-02-01
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
Comment
Question by:eladr
1 Comment
 
LVL 10

Accepted Solution

by:
Bustarooms earned 25 total points
Comment Utility
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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
Having worked on larger scale sites, we found out that you are bound to look at more scalable solutions to integrating widgets, code snippets or complete applications and mesh them into functional sites, in any given composition. To share some of…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

743 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now