How do I call a jQuery live event from inside itself?
<p>I wanting to know if anyone knows away of calling a live event inside itself with a parameter.</p>

<pre><code>$('#mybutton').live('click', {param: param1), function(event) {
     alert(event.data.param);
     $('#mybutton').click('some data');
});
</code></pre>

<p>I had found something weird in my code which was causing the trigger event not to work.</p>

<p>Here is a clean version that should work.</p>

<pre><code>$('#mybutton').live('click', {param: param1), function(event) {
     alert(event.data.param);
     $('#mybutton').trigger('click', ['some data']);
});
</code></pre>
