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  阅读(141)  评论(0)    收藏  举报