All , forgive me I am a newbie of jquery .I found there doesn't exist more detail of this api in jquery load api. Here is what I had lean from it and I have some the question about it.please review it.
This api include these ways of usage to make a ajax call.
$('#result').load('ajax/test.html');//ajax load a html file , it useGetmethod.$('#result').load('ajax/test.html .someclass');//ajax load the selected content from a html file.$('#result').load('ajax/test.html', function() { alert('Load was performed.');});//call back when it succeed.$(document).ready(function(){ $("input").keyup(function(){ txt=$("input").val(); $("span").load("/jquery/gethint.asp",{suggest:txt}); }); });//I am not sure what is thisdatamean. How the server side get thisdata?
So far , I didn't find the example when data is a string which will add in the url as parameters by jquery. I hope someone also can illustrate some code for me . thanks.
Updated
Please note the loadapi always be with the serialize method to format the UI input values to json. thanks.