jQuery委托

$('#container').on('click', '.elementClass', function() {
// code });

http://stackoverflow.com/questions/10082031/why-use-jquery-on-instead-of-click

posted @ 2017-02-11 10:53  fzyzcjy  阅读(141)  评论(0编辑  收藏  举报