onEnter

fires on pressing the Enter button when the mouse pointer is set in an input control

void onEnter(){ ... };

Example

myForm.attachEvent("onEnter", function(){
    // your code here
});

Back to top