首页 新闻 会员 周边
4
回答数

回答被采纳 10 关于 jQuery 的 attr 方法

今天在使用 attr 为一个对象设置一个属性时出现这样一个问题: var obj = {name:'', sex:''}; var $newNode = $('<span>contents....</