Javascript call a function on Enter button press. Like in login ui when you type password then press enter button it will log in.
$('#id_inputPassword').on('keydown',function(e){
e.stopPropagation();
if (e.keyCode == 13)
{
// call your function
}
});
Comments
Post a Comment