jquery笔记

$(document).on('test', function () {
  // log-async
  console.log('test-1')
})
$(document).on('test', function () {
  // log-async
  console.log('test-2')
})
$(document).trigger('test')
posted @ 2020-08-30 00:42  oceans-pro  阅读(137)  评论(0编辑  收藏  举报