Jquery+ajax implement no Refresh drop load more _jquery

Source: Internet
Author: User

With the development of the Internet age, the Web front-end has been linked to the background data, as the Web front-end is not only cut-write html,css and simple JS interaction.

JS Code

$ (function () {var page = 1;
  var discount = $ (' #discount ');
  var innerheight = window.innerheight;
  var timer2 = null; $.ajax ({url: '/lightapp/marketing/verify/apply/list?page=1 ', type: ' Get ', DataType: ' JSON ', timeout: ' 100
          0 ', cache: ' False ', success:function (data) {if (Data.error_code = = 0) {var arrtext = []; for (var i = 0, t; t = data.list[i++];)
            {Arrtext.push (' <div class= ' consume-whole ' > ');
            Arrtext.push ('  

The above is the entire contents of this article, I hope you can enjoy.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.