• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1221
  • Last Modified:

jQuery Autocomplete losing text on AutoPostBack

////    $(window).load(function() {
////        $('input[id^="txtquantity"]').each(function() {
////            $(this).keyup(function() {

////                if (String($(this).val()).length < 3) return false;
////                $("#dialog_confirm").html

I have a table programtic wrapped in update panel.  when I do a partial postback using
 __doPostBack('UpdatePanel1', '');
I know the dom is destroyed. examples did not help me online, wonder can someone guide me through this process.
Seven price
Seven price
  • 2
1 Solution

you have to bind auto complete in pageload

for this use like the following

function pageLoad() {

 //bind autocomplete to your textbox here


hope this helps

Seven priceFull StackAuthor Commented:
Not following is

Seven priceFull StackAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Office 2010

This course will introduce you to the interfaces and features of Microsoft Office 2010 Word, Excel, PowerPoint, Outlook, and Access. You will learn about the features that are shared between all products in the Office suite, as well as the new features that are product specific.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now