Reputation: 8734
any can suggest me the link to learn ajax with jquery.. i am unable to select one site in this ocean.. please suggest the link which can cover from basic.. not only link if there is any book i feel great
Thank you
Upvotes: 0
Views: 1413
Reputation: 42143
I also learned AJAX/jQuery step by step from this platform by postings different scenarios question. Here are my some questions that will be helpful for you also
How to load more than one DIVs using AJAX-JSON combination in zend?
AJAX: How to replace content of a DIV with a link in same DIV?
How to pass values of form input fields to a script using AJAX/jQuery?
Some of these are zend framework specific but jQuery/AJAX part will be same for all cases.
Upvotes: 3
Reputation: 1388
In my opinion, the only function you'll need (until you do really crazy stuff) is $.ajax()
http://api.jquery.com/jQuery.ajax/
It will send data to a script and get the result back.
$.ajax({
url:'path/to/script.php',
type:'post'
data:'variable=somevalue&this=that'
success:function(data){
// this is the function that is called if it succeeded. the data argument is the output from script.php (if you echo'd out stuff, for example.)
}
});
Best of luck, and merry Christmas.
Upvotes: 3