Home Answers Viewqa JSP-Servlet javascripterror

 
 


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

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 Pages:

Ask Questions?

If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.

Ask your questions, our development team will try to give answers to your questions.