Technology Magazine – Php – Jquery – Html/csss – Design – Wordpress

check keycode enter use javascript

This function use to check enter on form with jquery

function check_key(e)
{
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
if(keycode == 13){
return false;
}

}

Leave a comment for: "check keycode enter use javascript"