You need to sign in to do that
Don't have an account?
Dinesh123
Command button to be executed when Enter key is hit
Hi All,
I have a VF page where we have a command button and if we click the button the functionality is working but we want the same functionality to work when we hit enter. Basically hitting enter key should make the command button work like we clicked it . Can some one guide me how to get this done.
I have a VF page where we have a command button and if we click the button the functionality is working but we want the same functionality to work when we hit enter. Basically hitting enter key should make the command button work like we clicked it . Can some one guide me how to get this done.
Exmaple 1:-
Exmaple 2:-
http://salesforce.stackexchange.com/questions/42091/make-enter-key-execute-controller-method
http://bobbuzzard.blogspot.in/2012/10/press-enter-to-submit.html
Example 3:- and add below action function http://developer.force.com/cookbook/recipe/submit-a-form-with-the-enter-key
Please let us know if this will help you
Thanks
Amit Chaudhary