Calling php controlller script from javascript file |
[eluser]nfx-nano[/eluser]
Yes it's possible, just direct to or include the proper url, www.somesite.com/controller/function You say it calls the view file but that's not how it works. The router directs to the controller function first and the function then calls the view file. I don't know how you would call this from your javascript file, depends on which js library you are using. |
Welcome Guest, Not a member yet? Register Sign In |