js
页面加载执行
function Isedit() { //document.getElementById("SyTxtBox23_DataControl").disabled = true; //document.getElementById("SyTxtBox23_DataControl").readOnly = true; document.getElementById("SyTxtBox23_DataControl").disabled=true; } window.onload=Isedit;
jquery:
$(document).ready(function(){ $("#SyTxtBox35_DataControl").attr("disabled","disabled"); });
时间: 2024-10-18 20:51:55