I have a textbox which I use 'enter' keyup event to submit the value. The problem is the autocomplete also use the 'enter' keyup event to select the suggestion. So when I select one suggestion from the list, the textbox catch the event and submit the value right away (which I dont want because I want to type more) .
How can I detect only the 'enter' event of the autocomplete and prevent the textbox to catch it.
Thank you.
I have a textbox which I use 'enter' keyup event to submit the value. The problem is the autocomplete also use the 'enter' keyup event to select the suggestion. So when I select one suggestion from the list, the textbox catch the event and submit the value right away (which I dont want because I want to type more) . How can I detect only the 'enter' event of the autocomplete and prevent the textbox to catch it. Thank you.