searchable-option-list icon indicating copy to clipboard operation
searchable-option-list copied to clipboard

Make ajax-search work

Open fsmeier opened this issue 9 years ago • 3 comments
trafficstars

Hey,

I just found your nice plugin. In the frontend it is exactly what I was looking for. Sadly there is no method or sth like that to load the search-results via ajax-query with json-result.

This would be REALLY a nice feature!

Best regards, Florian

fsmeier avatar Dec 07 '15 08:12 fsmeier

Hi @IMM0rtalis ,

can you explain a bit more what you are trying to achieve? Loading the data with an ajax request should be possible by providing the URL as parameter for that data open (see http://pbauerochse.github.io/searchable-option-list/examples.html#initialize-empty-select-from-a-remote-url). Is this somewhat what you are looking for? You could then transform your data by additionally providing a converter (in case the server responds with a non-sol data format)

If that's no exactly what you want would you be so kind and give me an code example what you are trying to achieve?

Cheers

Patrick

pbauerochse avatar Dec 08 '15 13:12 pbauerochse

Hey Patrick,

i searched for other contacts of you, but you're really anonym in the internet :p

Yeah, initial-loading is possible. But if you have A LOT OF selectable data you would prefer loading them by searchtearms. Like an autocomplete but with your cool select-look&feel.

I would also participate, but i am more a php-developer. And I saw that you add all options(of the select) just in the begining.

Best regards from Berlin, Florian

fsmeier avatar Dec 09 '15 12:12 fsmeier

Hi @IMM0rtalis, Have you solved your problem? help me using ajax in search multisect?

tienn2t avatar Dec 14 '15 08:12 tienn2t