0

jQuery('input.vpass').keypress(function (e) {
    var code = e.keyCode || e.which;
    if (code === 13)
    e.preventDefault();
    jQuery(".sub_pass").click(); /*add this, if you want to submit form by pressing `Enter`*/
});

Jagdish Sarma Asked question March 3, 2022
Add a Comment