Ctrl+/
IE11
F11
ESC
PgUp
PgDn
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>JS实现Button按钮变色</TITLE>
<SCRIPT>
function msover(){
{event.srcElement.style.color="000099";event.srcElement.style.backgroundColor="99ccff";event.srcElement.style.cursor = "hand";}}
function msout(){{event.srcElement.style.color="red";event.srcElement.style.backgroundColor="white";event.srcElement.style.cursor = "auto";}}</SCRIPT>
</HEAD>
<body>
<button onmouseover="msover();" onmouseout="msout();" class=button type=submit>变色按钮</button>
</BODY>
</HTML>
CSS代码...
JS代码...
xxxxxxxxxx