CodeIgniter Forums
Create filter multiple selection - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Create filter multiple selection (/showthread.php?tid=29542)



Create filter multiple selection - El Forum - 04-13-2010

[eluser]Quaotloa[/eluser]
Hi, I want to create something like this in CodeIgniter:

http://skitch.com/quaotloa/n6uiq/django-groups.png-png-image-894x476-pixels


Any suggestion on how I can accomplish this?



Regards
Fredrik


Create filter multiple selection - El Forum - 04-13-2010

[eluser]n0xie[/eluser]
Use javascript + ajax.


Create filter multiple selection - El Forum - 04-13-2010

[eluser]Quaotloa[/eluser]
[quote author="n0xie" date="1271177031"]Use javascript + ajax.[/quote]

Yes, but do you have any example I can take a look at?


Create filter multiple selection - El Forum - 04-13-2010

[eluser]danmontgomery[/eluser]
Like n0xie said, I would use jQuery with ajax for this... You can find bunches of examples:

http://www.google.com/search?q=jquery+multiple+select+box

Something like: http://www.senamion.com/blog/jmultiselect2side.html

Not saying that's the best (or even a good one, I haven't used it), but you should be able to find something that will closely meet your needs.