<!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(){
$("input:disabled").css("background-color","red");
});
});
</script>
</head>
<body>
<ul>
<li>
不可用
文本框:<input type="text" name="zhuanqu" disabled="disabled" />
可用的文本框:<input type="text" name="keyong" />
</li>
</ul>
<button>点击查看效果</button>
</body>
</html>