Notes of my Lotus Notes Headline Animator

Search My Blog

Friday, December 21, 2012

Function to catch Enter key press

Function to Catch Enter Key press and accordingly perform the required task:

function catchEnter(){
        if(window.event.keyCode == 13){
                document.all.S.click();
        }
}

No comments: