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
sapthagiri_186sapthagiri_186 

Enabling a functionality by pressing "Enter" key

Hi,

 

I would like to enable my search functionality when "Enter" key is pressed in the input text field. Can someone help me out with this.

 

Best Regards

bob_buzzardbob_buzzard
Shiv ShankarShiv Shankar

This may help you

 

onKeyUp--- event handler is there, you can use it.

 

onkeyup="if(event.keyCode == 13){YourActionFunction(this.value);}"