re.attr("readOnly","true"); re.attr("readOnly",false); 注意 :false不能带引号 Read More
posted @ 2017-07-24 18:14 xiaotian_小天 Views(1649) Comments(0) Diggs(0) Edit
var addHtml="<span class='text_red'>*</span>";function req(re){ if(re.parent("td").find("span").length==0){ re.attr("require", "true"); re.parent("td" Read More
posted @ 2017-07-24 18:10 xiaotian_小天 Views(802) Comments(0) Diggs(0) Edit