function test(e) { $(e.target).attr('id') } // 记得带上点击事件
jQuery获取当前按钮的id
猜你喜欢
转载自www.cnblogs.com/aaronthon/p/10883353.html
今日推荐
周排行