jQuery绑定事件on

jQuery绑定事件on

jQuery中用on来绑定事件,常用写法 两种写法哪个更好? 1. $(document).on 将事件委托document, $('#idname').on 将事件绑定到.className元素上。每次docu
JavaScript150