Can I wrap a javascript event in a jQuery event?
<p>I have this code:</p>

<pre><code>&lt;html&gt;
&lt;head&gt;
    &lt;script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script type="text/javascript"&gt;
     $(function(){
      $('a.one').click(function(event){
       event.preventDefault();
      });
     });
     function test(event){
      event.preventDefault();
     }
    &lt;/script&gt;
    &lt;style type="text/css"&gt;
     a.test { font-weight: bold; }
     body { font-family:sans-serif; background-color:#AAAAAA;}
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;a class="one" href="http://jquery.com/"&gt;jQuery&lt;/a&gt;
    &lt;br/&gt;
    &lt;a class="two" href="http://stackoverflow.com/" onclick='test(event)'&gt;stack overflow&lt;/a&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>The test-function does not work as it stands now, since a regular javascript event doesn't support the jQuery event preventDefault-function. Is there some way to wrap a regular javascript event in a jQuery event so that I can use e.g. preventDefault?</p>
