function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
kumgaurav1.3959431011250151E12kumgaurav1.3959431011250151E12 

KeyPress event not working

Does anybody has idea----- I created a event on text box onkeypress="detectKeyPressEnter(event);" to call the action. If there is 2 text box in UI its working fine but in case of one text box the same code is not working. Declaring a second input text box without using it works fine. But my requirement is only one text box on page. Any idea why its not working ?
kumgaurav1.3959431011250151E12kumgaurav1.3959431011250151E12
I got my answer in this topic - Enter key on VF-Page