<!--测试自定义事件 trigger-->
<script>
$(function () {
var meEvent = $.Event("custom");
$("body").on("custom",function () {
console.log("test custom");
})
$("#testBtn").on("click",function () {
$("body").trigger("custom");
})
})
</script>