Solved

hide href in the window status

Posted on 2004-03-22
1
890 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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