• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I pass array as parameter from view to controller when click an anchor tag?

#2
[eluser]cpass78[/eluser]
The only way that 'I'm' aware of to do this is to either pass the data as hidden input fields in a form or use
Code:
$this->session-set_userdata(array('your values'));

*Edit,

Just realized you could do this with jquery also, just disable the click event for the id of the url and trigger a post event instead.


Messages In This Thread
How can I pass array as parameter from view to controller when click an anchor tag? - by El Forum - 07-11-2011, 05:59 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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