Welcome Guest, Not a member yet? Register   Sign In
Use action from controller to return data to AJAX or load views with content?
#1

[eluser]Unknown[/eluser]
Hi all, I'm creating a web app, sometimes I need to load a "view" to view client details, sometimes I need JSON data only.

How can I do it?

Need I create two actions? (One to return JSON data and one to load the "view").

Tks :-)


Messages In This Thread
Use action from controller to return data to AJAX or load views with content? - by El Forum - 01-04-2013, 07:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB