i think i have read every page google knows about which has these keywords, and nothing works for me.
what i have is a form input, and a button next to it [not submit], and what i want is for the button click to trigger an 'enter' key click. [this will respectively run another function which is already working..]
i've tried
<input id='inputBtn' type='button' .... onclick='$('#otherInput').trigger('keypress',[13]);' >
and also putting it in a function and then running it from onclick, or making a
$('#inputBtn').click(function().....
nothing works for me please help!!