jquery Autocomplete : autocomplete does not stop if string does not match

Posted by Daniyal on Stack Overflow See other posts from Stack Overflow or by Daniyal
Published on 2010-04-30T08:35:45Z Indexed on 2010/04/30 8:37 UTC
Read the original article Hit count: 737

Filed under:
|
|
|
|

I used the auto-complete function in jquery. It's data source are the results from a php-back-end.

$("#ice_id").autocomplete("ice-ver.php", { extraParams : { flavour_id: $("#flavour_id").val() } });

Let us take following example:

We type in the flavour ID 3992 ...(and 3992 exists in the database and is properly returned by the php backend). If we type in now 3992999 the auto-complete function should top showing anything up ...but unfortunately it still does, (could the problem lie within the fact that I am using integers instead of strings or chars?)

Thanks in advance for any hints and best regards

Daniyal

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about autocomplete