![]() |
#2
aspic2010-03-02 11:55
|

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>
<script>
function ff(){
var oDiv = document.getElementById("div1");
oDiv.style.removeProperty("background-color");
}
</script>
<body>
<div id="div1" style="background-color:red;height:50px;width:50px" onmouseover="this.style.backgroundColor='blue'">
</div>
<input type="button" value="use Methods" onclick="ff();"/>
</html>