Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa JSP-Servlet javascripterror
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


sarika
javascripterror
2 Answer(s)      6 years and 3 months ago
Posted in : JSP-Servlet



Advertisement
View Answers

October 22, 2008 at 10:56 AM


Hi friend,


Your code works properly and give the problem you have faced.

<html>
<head>
<title>
ss</title>
<script>
function describe()
{
window.status="send us a message";
}
function describe1()
{
alert("message for complaining");
}


function clear()
{
window.status="";
}
</script>
</head>
<body>
<a href="order.html" onMouseOver="describe();" onMouseOut="clear();">email</a>
<a href="complain.html" onMouseOver="describe1();" onMouseOut="clear();">complaint</a>
</body>
</html>

For more information on Javascript visit to :

http://www.roseindia.net/javascript/

Thanks




October 22, 2008 at 11:01 AM


Hello,
please try this code, window.status will show in bottom of the browser.


<head>
<title>
ss</title>
<script>
function describe()
{
window.status="send us a message";
}
function describe1()
{
alert("message for complaining");
}


function clear()
{
window.status="";
}
</script>
</head>
<body>
<a href="order.html" onmouseover="describe();" onmouseout="clear();">email</a>
<a href="complain.html" onMouseOver="describe1();" onMouseOut="clear();"> complaint</a>

</body>
</html>



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com