title: jQuery autocomplete turn off
body: <h2>1st question</h2>
  
  <p>I have a dropdownlist, filled with countries (from xml file).</p>
  
  <p>When you choose a country, you can use the autocomplete for a textbox.
  This autocomplete has postal codes from the choosen country.</p>
  
  <p>Now I want to set the autocomplete off right after the dropdownlist.change event
  for preventing that the autocomplete (filled with postal codes) for 1 country also work for another country. But how do you turn it off?</p>
  
  <p>Code:</p>
  
  <pre><code>//when changing country, other postcodes will load
          $('[id$=landenDropDown]').change(function () {
  
              //autocompletes removal
              ...
  
              $('[id$=POSTCODETextBox]').html("");
  
              var LandCode = $('[id$=landenDropDown]').attr("value");
  
              //autocomplete with postal codes for Belgium
              if (LandCode == "BE") {
                  //autocomplete postcode from selected country
                  $('[id$=POSTCODETextBox]').autocomplete("PostcodeBE.aspx");
  
              }
               //autocomplete with postal codes for Holland
              else if (LandCode == "NL") {
                  //autocomplete postcode from selected country
                  $('[id$=POSTCODETextBox]').autocomplete("thingXml.aspx");
  
              }
  
              else {
                  //test
                  getal += 1;
                  alert(getal);
              }
  </code></pre>
  
  <p>The problem is when the autocomplete is finished and select an other country
  that this autocomplete still exist, even when it doesnt have to show up.</p>