Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
400
How to create a default button
posted

We have a couple of WebDialogWindows, they all have some input fieldS and  OK and Cancel buttons. The dialog is shown via client script and the OK/Cancel buttons are also handled by client script.

Now I want the OK button to behave as a default button, e.g. a user presses the enter key in any of the fields it must perform the OK action. How can I do this ?

Lex