Using jQuery to replace form select of large list of users.

Using jQuery to replace form select of large list of users.

I've been told that jQuery can do this.

Simple form which includes a drop down list of users obtained from a database which is displayed using a form select entry with options for each entry.  problem is, the list can be quite long, upwards of several hundred.

In PHP, I added a filter box (text box) which the visitor can enter in a substring that is then used to obtain and display only matching entries.  Works great, but it needs to reload the page to do its thing.

I've been told that jQuery can be used to do the same thing without having to reload the whole page.

The filter box would be used to call an existing PHP script which obtains the names based on the filtered string.  I can change this script to output the data in any format necessary including raw format to full option formatted strings.

Just not sure how to set this up so that it gets called and replaces the current option content.

Any example of doing this available?