/ Published in: JavaScript

URL: http://jquery-howto.blogspot.com/2009/01/working-with-jquery-13-new-event-object.html
Expand |
Embed | Plain Text
var e = jQuery.Event("click"); e.user = "foo"; e.pass = "bar"; $("a").trigger(e); // or the shortcut $("a").trigger({ type:"click", user:"username", pass:"password" });
You need to login to post a comment.