Php+ajax implementation of no-refresh commenting solution

Source: Internet
Author: User
Php+ajax Implement no Refresh comments
How to implement Php+ajax implementation No refresh comments

------Solution--------------------
Put Ajax first.

Http://blog.csdn.net/phpBoy005/archive/2009/03/31/4037828.aspx
------Solution--------------------
Well, we'll learn Ajax first. Update comments with Ajax after submitting comments
------Solution--------------------
Learn Ajax First!
------Solution--------------------
Do you mean not to submit the entire page, just a partial refresh, to show the reply?
1 floor of the link to write a good, handy also posted my own previous days to learn Ajax experience.
Http://blog.csdn.net/itcoco/archive/2009/08/05/4413397.aspx

------Solution--------------------
First you have to be sure to write with the most original Ajax, a lot of code, but the jquery framework greatly reduces the code. First learn to use the jquery framework to write Ajax, very simple to see a few examples will be.
------Solution--------------------
Using the jquery framework

Implementation ideas:
1. Trigger Click on the Comment button to submit input to PHP, such as write to the database for verification and other operations
2. After the completion of the DIV layer from the new load, the load process read the comment content of the layer and PHP interaction to get the data back to fill the layer, you can
  • 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.