javascripterror

javascripterror

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:
javascripterror - JSP-Servlet

Ads