开发者

jQuery ajax search

开发者 https://www.devze.com 2023-02-21 01:24 出处:网络
I would like to implement a window below a searchbar, which displays search results name + 开发者_Python百科their image. At the moment a summy object with the info would be enough. Something like this

I would like to implement a window below a searchbar, which displays search results name + 开发者_Python百科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


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消