How do I postback whenever a user types in a textbox to filter results in a div tag.
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.
Add onfocus=’SetEnd(this) to the properties of your search input control. This will set the caret to the end of the text.
This will only postback when an alphanumeric character is entered into the textbox, including delete.
Hope this helps someone.
Note I have only tested this on IE7 therefore some things may not work in Firefox or other browsers.