JS

document.getElementById('ID').属性="属性内容";            document.getElementById('txt1').readOnly="readonly";  添加只读

jq

&("#ID").attr("属性","属性内容")

.NET

this.ID.Attributes.Add("onfocus","this.blur();");

 

相关文章:

  • 2022-12-23
  • 2021-09-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 1970-01-01
  • 2022-12-23
猜你喜欢
  • 2022-02-10
  • 2021-11-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2022-12-23
  • 2022-01-03
相关资源
相似解决方案