Trigger keypress. From http://stackoverflow.com/questions/832059/definitive-way-to-trigger-keypress-events-with-jquery