Johan
Johan

Reputation: 185

jQuery ajax search

I would like to implement a window below a searchbar, which displays search results name + their image. At the moment a summy object with the info would be enough. Something like this maybe?

data: "{one : 'test',two: 'test2' }"

I have some basic jquery knowlegde, but dont really know where to start.

Thanks

Upvotes: 1

Views: 294

Answers (2)

Dunhamzzz
Dunhamzzz

Reputation: 14798

There is a jQuery UI autocomplete plugin which is nice and easy to setup, just pass data as your data argument

Upvotes: 1

Matt Howell
Matt Howell

Reputation: 15936

It sounds like you're looking for autocomplete. Look up the jQuery autocomplete widget and start from there.

Upvotes: 1

Related Questions