Quantcast
Channel: jQuery information, documentation and plugin script
Viewing all articles
Browse latest Browse all 10

JQuery autocomplete elegant solution

$
0
0

Here is an elegant and very simple autocomplete JQuery solution.

jquery autocomplete

The ‘callback’ part allows to hook in a function, this is where the real magic if thats what you can call it happens.

IF the ‘data’ returned length is more than zero (ie: there is actually something to show), show the suggestionBox and replace the HTML inside with the returned data.

SIMPLE!

Now for the PHP Backend (RPC.php)

The source are here.

Enjoy !

Read more / Lire la suite

Viewing all articles
Browse latest Browse all 10

Trending Articles