Skip to content Skip to sidebar Skip to footer

Changing Web Page Content Using Ajax

I'm looking for the best way to dynamically update a web page content using Javascript AJAX. My first thought is to store various div layouts each describing a different page in va

Solution 1:

jquery ajax

$.ajax({
  url: "test.php",
  type: "POST",
  data : { var:'val1',var2:'val2' }
}).done(function() { 
  $("<div>").innerHTML("done");
});

Post a Comment for "Changing Web Page Content Using Ajax"