JQuery simulating keypress event on an input field
Hi you could try use the change event for when the input area changes :
$('#myInputId').change(function(){
$('#myInputId').focus().trigger({ type : 'keypress', which : 13 });
});
You can create an event object:
$('#myInputId').trigger(jQuery.Event('keypress', { keycode: 13 }));