开发者

need help to learn ajax with jquery

开发者 https://www.devze.com 2023-02-01 17:46 出处:网络
any can s开发者_如何学Pythonuggest 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 can s开发者_如何学Pythonuggest 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


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.


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

  • 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 call AJAX request on dropdown change event?

  • How to pass values of form input fields to a script using AJAX/jQuery?

  • How to submit a form with AJAX/JSON?

  • How to code one jquery function for all AJAX links

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

0

精彩评论

暂无评论...
验证码 换一张
取 消