How i can i check the value of an input field continuously after it has been focused once ? (with jquery).I’m looking to make a live search and completely remove the submit button on my form.
Share
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 would bind the keyup and mouseup events to the input
After fighting with this in jsfiddle I finally came up with this:
I wasn’t aware of the
pasteevent, but clearly, it is awesomeWorking example: http://jsfiddle.net/rLAxL/1/