Right click > Select "View Page Source" to see source code.

EXAMPLE 1:
      
      // Example AJAX request:
      $.get("demo_test.asp", function(data, status){
          alert("Data: " + data + "\nStatus: " + status);
      });
      
    
EXAMPLE 2:
      
      // Another AJAX request example:
      $.ajax({
        type: 'GET',
        url: 'http://somewebsite.com',
        dataType: 'html',
        timeout: 15000,
        beforeSend : function() {
        },
        success: function (html) {
        },
        error: function () {
        }
      });