title: Send extra parameters with ajax chosen
body: <p>I'm currently using the chosen JQuery plugin :
  <a href="http://harvesthq.github.io/chosen/" rel="nofollow">http://harvesthq.github.io/chosen/</a></p>
  
  <p>with this complement (to add an Ajax request) :
  <a href="https://github.com/meltingice/ajax-chosen" rel="nofollow">https://github.com/meltingice/ajax-chosen</a></p>
  
  <p>I would like to know if anyone has ever been able to send extra parameters to the ajax function.
  For now it only sends the letters in the input, but I would like to send an extra id.
  Here's what i'm doing:</p>
  
  <pre><code>    $("#mySelect").ajaxChosen({
      minTermLength: 2,
      type: "GET",
      url: "/Orders/ajax_getBundleItems",
      dataType: "json",
      error: onItemChosenFail
      },
      function (data)
      {
          var terms = {};
  
          $.each(data, function (i, val) {
              terms[i] = val;
          });
          return terms;
      });
  </code></pre>
  
  <p>I'm using the CakePHP Framework, here's my ajax function:</p>
  
  <pre><code>    public function ajax_getBundleItems($term = null) {
              $this-&gt;layout = false;
              echo "&lt;pre&gt;";
              var_dump($this-&gt;request-&gt;data);
              var_dump($this-&gt;params['url']['term']);
              echo "&lt;/pre&gt;";
        }
  </code></pre>
  
  <p><strong>$this->params['url']['term']</strong> gives me the letters in the input, and I would like <strong>$this->request->data</strong> to be an id.</p>
  
  <p>Regards</p>