title: Autocomplete and Dynamic Parameter Passing
body: <p>The code below works fine using jQuery UI 1.8 and jQuery 1.4.2</p>
  
  <pre><code>$("#sid_entry_box").autocomplete({
    source:"autocomplete_sid.php?database="+database_name,
    minLength:4,
    delay:1000,
    enable:true,
    cacheLength:1
  });
  </code></pre>
  
  <p>The database name is passed as a get parameter of the php call.</p>
  
  <p>In this application, there are two databases selected by radio buttons.
  Since jQuery loads and assigns this function when the document is loaded, the database name is whatever was checked at that momemnt. </p>
  
  <p>What I really need to pass to the php call is the following:</p>
  
  <pre><code>database=$("input[name=rf_database_option]:checked").val();
  </code></pre>
  
  <p>Is there an easy to understand way to be able to pass a dynamic dom value?</p>