mardi 4 août 2015

laravel views in Semantic-UI tabbed layout

I have a very basic problem with AJAX. I wish to use a tabbed layout with AJAX loading of my content.

http://ift.tt/1IK3KNj

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