/ Published in: jQuery
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//this works e = jQuery.Event("keyup"); e.which = 13 //enter key jQuery('input').trigger(e); //this doesn't e = jQuery.Event("keypress"); e.which = 13 //enter key jQuery('input').trigger(e);