Following code for passing an object to event handler is not working:
$('a.another').live('click', function(e, data) {
alert(data); // **alerts '[{isMachineClick:true}]'**
alert(data.isMachineClick); // **alerts 'undefined'**
});
$('a.another').trigger('click', "[{isMachineClick:true}]");
Please have a look at this.
PS: solution provided at link pass an object through jquery trigger is not working, so posting a new thread.