Welcome Guest, Not a member yet? Register   Sign In
javascript
#1

[eluser]meera[/eluser]
How to pass javascript values to controllers.using url arguments..?
#2

[eluser]CroNiX[/eluser]
It really depends on what you are doing.

If you are using ajax, you can set post variables and then grab those in your controller using $this->input->post(). You can also just send them in your url (http://mysite.com/mycontroller/method/js...ar2/jsvar3). If you have a specific example Im sure people could give better answers.
#3

[eluser]fchristant[/eluser]
Personally I always use posts, as that way I do not run into URL length/encoding issues.




Theme © iAndrew 2016 - Forum software by © MyBB