0

I dont get any errors with this one but as I re-checked the plugin it should only toggle "admin admin" in the dropdown list. I am using the latest version of jquery. So far, I have read on this site that it doesn't support the latest version of jquery.

JSON output works fine. I dunno how to solve this.

//Code Initialisation:

<script type="text/javascript">
    $(document).ready(function() {
        $("#input").tokenInput("JSONurlhere");
    });
</script>

jquery token search

Chris
  • 5,882
  • 2
  • 32
  • 57
Peter Wateber
  • 3,824
  • 4
  • 21
  • 26

1 Answers1

0

When using an external page to access your data, you also need to implement the search logic yourself. This is to allow the add-on too search databases and such as well. Whatever you echo is what is displayed in the dropdown, so should just be the relevant results.

With the above set up, your search parameter (In the example 'admin') will be available in the GET variable q on your server side script.

Chris
  • 5,882
  • 2
  • 32
  • 57