摘要: var node = $('#id'); node.click(function(){ this.css('display','block'); //报错 this是一个html元素,不是jquery对象,因此this不能调用jquery的css()方法 $(this).css(); //正确 $( 阅读全文
posted @ 2022-07-16 16:09 paoPaoLong_liu 阅读(30) 评论(0) 推荐(0)