<!doctype html>
<html>
<head>
<meta charset=" utf-8">
<meta name="author" content="http://www.plcxue.com/" />
<title>plc学堂</title>
<script type="text/
javascript" src="mytest/jquery/jquery-1.8.3.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("button").click(function(){
$(":reset").css("background-color","red");
});
});
</script>
</head>
<body>
<ul>
<li>
密码框:<input type="password" name="mima" />
重置按钮:<input type="reset" value="重置" />
</li>
</ul>
<button>点击查看效果</button>
</body>
</html>