我可以在jQuery事件中包装JavaScript事件吗?

是的,您可以将JavaScript事件包装在jQuery事件中。对于包装,请使用事件对象。您可以尝试运行以下代码以将JavaScript事件包装在jQuery事件中-

示例

<!DOCTYPE html>
<html>
<head>
<script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
<script>
$(document).ready(function(){
     $('a.one').click(function(event){
        event.preventDefault();
     });
     function test(event){
        $.Event(event).preventDefault();
     }
});
</script>
<style type="text/css">
    a.test {
      font-weight: bold;
    }
    body {
      font-family:sans-serif;
    }
</style>
</head>
<body>

<a class="one" href="https://nhooo.com/">Tutorials</a><br/>
    <a class="two" href="https://qries.com/" onclick='test(event)'>QA</a>
</body>
</html>