Tequila allow you to reuse any page you have made or generate, to get a CRUD page data in JSON format. Add to the task URL: rrt=json i.e. 1 index.php?task=your-task&mode=your-mode&rrt=json' This code will work in any generated page for all methods that return data You can also implement custom JSON calls, to make a JSON call on JS using tequila libraries: 1 var ajax = new AJAXJsonAction (url, callback_setajax); 2 ajax.doGet(); Ajax will contain the values you need, on PHP just use json_encode function available on every PHP now. |

