[wd_asp elements=’search’ ratio=’100%’ id=1]

Load data into a div using .load

18th June 2014

Jquery Misc

jquery icon

First Example (uses hyperlinks to load all content into main arena.)

Second Example


Error Catching
There is no file called singleclientcallx.php, so the error message will appear.
You can also show an error in the called file and echo out an error also.

$('#nextplace').load('../singleclientcallx.php',function(responseTxt,statusTxt,xhr){
if(statusTxt=="success")
alert("GoogleAPI Call loaded successfully!");
if(statusTxt=="error")
alert("BING API Not found");
});