Js错误: obj.parents is not a function2024-01-08 11:22:52代码: (1) <div class="ViewMore" id="viewmore${i}" onclick="CLICK(this)";> 展开更多 <i class="iconfont icon-gd"></i></div>; (2)function CLICK(obj) { var p = obj.siblings('.Mobile_bottom').children('.Mobile_bottom_p'); } obj 为DOM,需改为 $(obj) 上一篇:Python全栈问答小技巧_2下一篇:4. Father's Impact on a Child's Language Development 父亲对孩子语言发展的影响