<head>
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.8.0.js"></script>
</head>
<form action="" method="post" id ="fo" >
<input type="text" name="name"/>
<input type="text" name="pcc" hidden />
<input type="submit" value="提交">
</form>
<script>
$("#fo input").each(function () {
if($(this).is(':hidden')){
$(this).attr("disabled",true);
}
})
</script>