复制代码 代码如下:
<script type="text/javascript" src="jquery-1.8.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$(".ddd input").attr("disabled","disabled");
$(".ddd select").attr("disabled","disabled");
});
</script>
<div class="ddd">
<input type="text" disabled>
<input type="text">
<input type="text">
<input type="text">
<select name="ddlsex" id="ddlsex" runat="server">
<option value="">--请选择--</option>
<option value="m" selected
<option value="f">女</option>
</select>
</div>
网友评论文明上网理性发言已有0人参与
发表评论: