M
M
maxwell2014-07-29 23:32:46
JavaScript
maxwell, 2014-07-29 23:32:46

How to search json with jquery?

How to search json with jquery ? Or maybe there are ready-made scripts for searching the array.

array like

{"id":34,"number":2,"alias":"go","name":"GO","genre_id":3,"url":"http:\/\/ttv- kv-torrent1.ytv.su\/go.acelive"},
{"id":35,"number":3,"alias":"goodwin","name":"GOodwin","genre_id":2, "url":"http:\/\/ttv-kv-torrent1.ytv.su\/goodwin.acelive"},

Search is required by name, with a drop-down list of results.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrew, 2014-07-29
@maxwell

ivaynberg.github.io/select2 - very good for you. Able to search for any value if desired, and there is also a drop-down list.

D
Dmitry Guketlev, 2014-07-29
@Yavanosta

https://developer.mozilla.org/en-US/docs/Web/JavaS...
https://developer.mozilla.org/en/docs/Web/JavaScri...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question