Quantcast
Channel: Adobe Community : All Content - Edge Animate
Viewing all articles
Browse latest Browse all 9897

load php content in one ajax call

$
0
0

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);

  }

});


Viewing all articles
Browse latest Browse all 9897

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>