摘要: # jQuery事件 - 1.on() ```js //1.事件类型type 2.selector 3.data 4.handle $('ul').on('click', 'li', function(e){ alert($(e.target).text()); });//点击ul下的li元素触发h 阅读全文
posted @ 2020-05-11 11:16 lanshanxiao 阅读(656) 评论(0) 推荐(0) 编辑