I have a very basic problem with AJAX. I wish to use a tabbed layout with AJAX loading of my content.
see Retreiving Remote Content section.
My problem: I have no clue how replace the mockup AJAX
mockResponse : function(settings) {
var response = {
first : 'AJAX Tab One',
second : 'AJAX Tab Two',
third : 'AJAX Tab Three'
};
with views defined in my controller.
May I ask somebody to show me a working example.
Thank you in advance.
Aucun commentaire:
Enregistrer un commentaire