+ 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);}"