XMLHTTP Refresh remote Data php JS code demo (support Chinese) _php tutorial

Source: Internet
Author: User
XMLHTTP, no flush sound, no funnel mark, the best effect, but is the browser requirements high, fortunately my application is only a subordinate function, so do not need to open this control user ... Finally decided to adopt this scheme

I have written a test program, the code is as follows for your reference:
==test2.php=================
Session_Start ();
echo "The time is now:". Date ("Y-m-d h:i:s", Times ());
?>

==eg4.php==================






Data loading


This way, when you run eg4.php, the page will show the current time, refresh every 2 seconds, see no progress bar, and no small funnel mark

http://www.bkjia.com/PHPjc/630937.html www.bkjia.com true http://www.bkjia.com/PHPjc/630937.html techarticle xmlhttp, no flush sound, no funnel mark, the best effect, but is the browser requirements high, fortunately, my application is only a subordinate function, so do not need to open this control user ...

  • 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.