[CODE]<html>
<head>
<title>改变按钮背景颜色</title>
<script language="javascript">
function Btn_Click()
{
var btnTst=document.getElementById("btnTst");
btnTst.style.backgroundColor="blue";
}
</script>
</head>
<body>
<input type="button" id="btnTst" style="background-color:red;" onClick="Btn_Click();" value="按钮">
</body>
</html>[/CODE]