I would like the keyPress == 13 function to occur when a button has been clicked. Is this possible in Jquery?
Reason why I'm trying to figure this out is because im using a plugin which redirects a search term to an allocated page when pressing the enter key, but this does not work when I click the submit button. So I was wondering If I could mimic the enter key when button has been click.
Also I apologise for my terminology as I'm a beginner. Thanks.