I have a submit button on a page and click on that I am showing a overlay jsp. Now I want that after one click irrespective of any number of time I press enter on keyboard it should not work. I dont want to change each jsp, I just want to put some fix on my overlay funtion. can anyone guide me pls ?