快捷导航

jquery 的遍历问题

$(document).ready(function(){var item=$('#item').children();item.each(function(i){$(this).bind('click',function(){this.css("background-color");})})})遍历之后想绑定个事件,可总是这个错误用addClass还是not a function,求指教,多拓展一点,虚心求教!!谢谢

免责声明:本内容仅代表回答者见解不代表本站观点,请谨慎对待。

版权声明:作者保留权利,不代表本站立场。

回复

使用道具 举报

可能感兴趣的问答

发新帖
  • 微信访问
  • 手机APP