Solved

hide href in the window status

Posted on 2004-03-22
1
886 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
ID: 10652007
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
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…

726 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