hello again,
i have a problem with submitting form by enter key. the form not using form plugins. but only input element using textbox plugins.
when i have done fill the username and password input, and then i press enter key, but value in password input not sent to server, if i lost focus on password input and then focused it again in password input, it works.
here is my code :
$('#btn_login').click(function(){
$('#form_login').submit();
});
$('#form_login').keydown(function(e){
if (e.keyCode == 13){
$('#btn_login').trigger("click");
}
});
so why it happen?
thanks