标签属性
$(div).attr("属性名");//获取
$(div).attr("属性名",值);//设置

可以传入json对象 {class:"row"}来设定多个


首页 我的博客
粤ICP备17103704号