Bottom of each floor review-ajax page

Source: Internet
Author: User
Comments below each floor------Ajax paging
Just like Baidu Bar, need to comment on each floor below. Combining Ajax technology for pagination ... Here's the problem.
When using AJAX to request data. Need to pass the current floor ID? JS How to pass it?

First Floor Review content
How do you change the data in the DIV after you get the data returned by Ajax?,,, the ID of the div that displays the comments for each layer into the current floor ID?
This seems a little troublesome ah.
------Solution--------------------
Then use the jquery attr (' fid '); Read
For example
Floor
List of comments







------Solution--------------------
The floor and the div that shows the comment must be relevant, such as setting some attributes of the div to the ID of the floor, etc.
  • 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.