0 Replies Latest reply on Nov 17, 2015 5:46 AM by uboss84

    load php content in one ajax call

    uboss84 Level 1

      i want load different content stored in php file and i use different ajax call, there is a mode to load all in one call ?

       

      $.ajax({

        url: 'ajax1.php',

        dataType: 'json',

        success: function(data) {

        sym.$("Placeholder").html(data);

        }

      });

       

      $.ajax({

        url: 'ajax2.php',

        dataType: 'json',

        success: function(data) {

        sym.$("Placeholder2").html(data);

        }

      });