jquery: pass an object to event handler using jquery trigger method
<p>Following code for passing an object to event handler is not working: </p>

<pre><code>$('a.another').live('click', function(e, data) {
        alert(data); // **alerts '[{isMachineClick:true}]'**
        alert(data.isMachineClick); // **alerts 'undefined'**
});

$('a.another').trigger('click', "[{isMachineClick:true}]");
</code></pre>

<p>Please have a look at this.</p>

<p>PS: solution provided at link <a href="http://stackoverflow.com/questions/3686949/pass-an-object-through-jquery-trigger/">pass an object through jquery trigger</a> is not working, so posting a new thread.</p>
