1.如果没有id属性,使用jQuery创建一个(selector直接使用Chrome浏览器copy)$('selector').attr('id','once')2.如果有readonly=true属性,修改该属性为false或移除该属性document.getElementById('id').removeAttribute(&qu
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号