jQueryfy custom event creation code
<p>Out of curiosity, how can I jQueryfy the below event generation code</p>

<pre><code>var newevent = document.createEvent("Event");
newevent.initEvent("fly", true, true);
this.dispatchEvent(newevent);
</code></pre>

<p>where <code>this</code> points to the element currently selected.</p>

<p>Note: there is something wrong with my SO editor right now, as I cannot see the tools to format, or preview. Will format once it is working.</p>
