I can't seem to get the jquery ui autocomplete to allow spaces as it ends the query. I need to be able to type a users first and lastname name and have the results returned, however on pressing space between the first and last name the query ends. I've tried adding multiple: true and mutlipleSeparator: " " but both don't work with jquery ui. Can someone help?

E.g. Need to be able to type "John Smith" but after typing "John" and pressing space the query ends with no results.

HTML Code:

  <script>
  $(function() {
    $("#queryString").autocomplete({
        source: "Search.php",
        minLength: 3
    });
  });
  </script>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.