4 function disableLink(link) {
5 //设置href属性
6 link.href = "javascript:void(0);";
7 //设置disabled属性
8 link.setAttribute("disabled", "disabled");
9 }
转载于:https://www.cnblogs.com/smallfa/p/5057381.html
4 function disableLink(link) {
5 //设置href属性
6 link.href = "javascript:void(0);";
7 //设置disabled属性
8 link.setAttribute("disabled", "disabled");
9 }
转载于:https://www.cnblogs.com/smallfa/p/5057381.html