I would use JavaScript for this. Handle onkeypress even in the form of . For instance:
<form onkeypress="yourKeyPressFunction(event)"> ... </form>
Then your yourKeyPressFunction() will look something like this:
function yourKeyPressFunction(e) { if (e.keyCode == 13) {
user596075
source share