jquery autocomplete filtering
Posted
by eidylon
on Stack Overflow
See other posts from Stack Overflow
or by eidylon
Published on 2010-01-29T19:32:07Z
Indexed on
2010/05/24
5:11 UTC
Read the original article
Hit count: 512
Hello all, I have a page, which uses jQuery Autocomplete on the second two textboxes (investigator and institution). It is getting the data fine, and displaying it, but for some reason it is not filtering the list of data as i continue to type.
Anyone know why? Is there something i need to do to turn this on? According to the jQuery site, the only options to the autocomplete initializer are delay, minLength and source.
Thanks in advance! I'm using jQ v1.4.1 and jQui v.1.8rc1.
Below is the code which I am calling on $(document).ready().
function hookUpAutoCompletes() {
$('table#params input[name=sinvestigator]').autocomplete({
source: "json-investigators.asp",
minLength: 2
})
$('table#params input[name=sinstitution]').autocomplete({
source: "json-institutions.asp",
minLength: 2
})
}
© Stack Overflow or respective owner