Try out this :-

<html>
<head>
<title>Welcome </title>
<script type="text/javascript" language="text/javascript">
function changered(){
       window.event.srcElement.style.color="red";
               }
function changeblue(){
       window.event.srcElement.style.color="blue";
               }
</script>
</head>
<body>
<h2 id="test" style=color:blue OnMouseOver="changered()"
OnMouseOut="changeblue()">See my color changes!</h2>
</body>
</html>

-- 

Thanks and Regards

*Karan Bagaria*
*MCA Pre-Final Year*
*NIT Durgapur*

-- 
"Freedom is the only law". 
"Freedom Unplugged"
http://www.ilug-tvm.org

You received this message because you are subscribed to the Google
Groups "ilug-tvm" group.
To control your subscription visit 
http://groups.google.co.in/group/ilug-tvm/subscribe
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]



For details visit the google group page: 
http://groups.google.com/group/ilug-tvm?hl=en

Reply via email to