I am using ExtJs virtual keyboard
Ref:
http://efattal.fr/extjs-dev/examples/virtualkeyboard
I want to fire an ajax request on press of “enter” key of the virtual keyboard.
Is there any way to capture the “Enter” key press event ?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
i was facing same problem. try dis
listeners: {keypress: function(keyboard, keyValue){
if(typeof console != 'undefined')
console.log(keyValue);
if(keyValue=="\n")
{ //your code here }
}
}