How to pass an array to a controller?

#11
[eluser]Boris Strahija[/eluser]
If it has to be client-side (JS), without cookies, then I think the only sollution is submiting a form via POST.
Putting all that data in the URL is a bad idea in my oppinion.

You could do it with AJAX also. A combination of AJAX and CI sessions would be nice. I recently did something like that when I was building an csv exporter for html tables. Take a look at JQuery, it's really simple to use.


Messages In This Thread
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:14 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:22 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:24 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:40 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 01:55 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 02:54 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:07 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:09 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:13 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:15 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:23 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 03:38 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 08:02 AM
How to pass an array to a controller? - by El Forum - 10-21-2009, 06:39 PM
How to pass an array to a controller? - by El Forum - 10-22-2009, 12:40 AM
How to pass an array to a controller? - by El Forum - 10-22-2009, 12:48 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.