Mihir
Mihir

Reputation: 8734

need help to learn ajax with jquery

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

Answers (2)

Naveed
Naveed

Reputation: 42143

Easy Ajax with jQuery

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

Some of these are zend framework specific but jQuery/AJAX part will be same for all cases.

Upvotes: 3

Thomas Havlik
Thomas Havlik

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

Related Questions