Ajax is triggered by a front-end page, which in turn can be implemented? -Segmentfault

Source: Internet
Author: User
Keywords ajax php
Title, Ajax is triggered by a front-end page action, and then to the background to fetch data, and then dynamically back to the front end. For example, implement no refresh to modify HTML elements. That in turn, by the PHP backend execution to a piece of code, if successful, the dynamic modification of the front-end page of the code, the same implementation of no refresh,

Reply content:

Title, Ajax is triggered by a front-end page action, and then to the background to fetch data, and then dynamically back to the front end. For example, implement no refresh to modify HTML elements. That in turn, by the PHP backend execution to a piece of code, if successful, the dynamic modification of the front-end page of the code, the same implementation of no refresh,

    • Asked 2 hours ago
    • 1 reviews
    • Invitation to answer

Please login and comment first

Sort By default sorting time

2 answers

The answer is helpful to the person, has the reference value 2 The answer is no help, it's the wrong answer, irrelevantly replying .

WebSocket push data to the front end

Comet,websocket are available, but they all require client-side connection initiation.

  • Related Article

    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.