title: jquery - autocomplete url
body: <p>I'm using jQuery autocomplete in my web application. I followed this <a href="http://jqueryui.com/demos/autocomplete/#remote-jsonp" rel="nofollow">http://jqueryui.com/demos/autocomplete/#remote-jsonp</a> When it sends the suggestion request it sending to the different url not the one I've given in <code>$.ajax()</code> url</p>
  
  <p>Here is the jQuery code:</p>
  
  <pre><code>$("#add-keywords").autocomplete({
      source: function( request, response ) {
          var q = $("#add-keywords").val();
          $.ajax({
              url: "keywords_suggestions/",
              dataType: "json",
              data: {
                    query: q
              }
              });
          },
          minLength: 2,
          select: function( event, ui ) {
              log( ui.item ?
                  "Selected: " + ui.item.label :
                  "Nothing selected, input was " + this.value);
          }
  });
  </code></pre>
  
  <p>I'm using Django for server side scripting. It must actually want to request to this url <code>http://127.0.0.1:8000/keywords_suggestions</code> But it requesting to this url <code>http://127.0.0.1:8000/information/?query=web</code> Why is it so?</p>
  
  <p>Thanks!</p>