首页 > 技术文章 > js 调试

yingjie13 2015-09-10 20:25 原文

$(":select[name='start_Month'").each(function(item,i){
console.log(item.name + "" + item.value);
});

 

js加属性

 this.getElementsByTagName("a")[0].setAttribute("aria-selected", true);

推荐阅读