Jquery refresh automatically at intervals

Source: Internet
Author: User
1. varurl & quot ;? Actionxml & amp; operatenewbet & amp; LT & quot; + t_LT + & quot; & amp; AVID & quot; + AVID + & quot; & amp; Jeu_ID & quot; + Max_Jeu_ID + & quot; & amp; XZ_Money & quot; + t_XZ_Money; 1. var url = "? Action = xml & operate = newbet <= "+ t_LT +" & AVID = "+ AVID +" & Jeu_ID = "+ Max_Jeu_ID +" & XZ_Money = "+ t_XZ_Money; // obtain the URL
$. Get (url, function (d) {// run this url
// Alert (42); alert (d); // The message is displayed.
2. status indicates the browser status bar. Use window. status = "***" (* indicates the text you want to display in the status bar)
3. setTimeout ('check () ', 15000 );//
How to use setTimeout () in the js class
SetTimeout (expression, latency)
SetTimeout (expression, interaction time)
The delay time/interaction time is in the unit of luxury seconds (1000 ms = 1 s)
When setTimeout is executed, it is executed once after the specified delay after loading, and only once
When setTimeout is executed, it executes the expression once every specified time after loading.

 
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.