<head> | |
<script src="resources/repaint.js" type="text/javascript"></script> | |
<script> | |
function repaintTest() | |
{ | |
document.getElementById("target").style.backgroundColor = "lightpink"; | |
} | |
</script> | |
</head> | |
<body onload="runRepaintTest()"> | |
<button id="target" style="height: 100px; width: 100px; background-color: lightblue; border: none;"> </button> | |
</body> |