Handling enter key down event

R

RA

Hi

How can I ignore the edit text box (asp control) click event? In my aspx web
form I have a submitt button and I want the user to click on it when he is
done. The problem is when the user enters information in the text box and
click the enter key then the page gets post back. I need to handle this
problem. What would be the best way - to support most browesers?


Thanks,
Ronen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,770
Messages
2,569,584
Members
45,075
Latest member
MakersCBDBloodSupport

Latest Threads

Top