.load ( SERVER_URL [, PARAM_JSON ] [, SUCCESS_FN ] )
load() function will be applied to an html element. It loads the element with response content for an AJAX request from a server.
Parameters
NameTypeDescription
SERVER_URLStringServer URL which handles AJAX request
PARAM_JSONJSONInput data to be sent to the server - Optional
SUCCESS_FNJSONA success callback function and value it returns is used to load the source element. If not provided, server reponse will be directly used to load the HTML element - Optional


Example 1
Load the html element from the server response for an AJAX request using load().
JS
		$.domLoaded(function() {

			$.get("#ajax1").on("click", function() {
			
				$.get("#result").load("../../ajax/AjaxServer.php");
				
			});
			
		});						
						
Result