Hi,
var myButton = dojo.byId('mybutton');
var evObjclick = document.createEvent('MouseEvents');
evObjclick.initMouseEvent( 'click', true, true, null, 0, 27, 53,
27,53, false, false, false, false, 0, null );
myButton.dispatchEvent(evObjclick);

I'm looking for a cross-browser solution to the above vanilla js,
which works in FF but not IE. Can you do this using jquery ?
Thanks

Reply via email to