Using JQuery $.ajax

With JQuery, you can easily make ajax calls to load data from an external page or service. The code below should get you started. The JQuery $.ajax function is incredibly powerful. Over the next few days we will be covering more advanced uses of the $.ajax function.

url: ‘Url of page you want to load here’
success: function(data){

function processData(data){
$xmlData = $(data);

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>