This article mainly introduces JQuery's simple server round-robin effect, and analyzes jQuery's ajax interaction and integration in the form of instances. net to achieve the polling effect related skills, you can refer to the example of this article describes JQuery to achieve Simple Server polling effect. We will share this with you for your reference. The details are as follows:
When many forums are accessed, a prompt is displayed, indicating how many emails are not viewed, or an OA system, indicating how many tasks are not performed. A prompt is displayed at intervals, but how can this problem be implemented. In fact, using jquery is relatively simple. The core element is the json format parsing and setInterval () functions. The following is an implementation:
First, the default. aspx page is shown as follows:
<% @ Page Language = "C #" AutoEventWireup = "true" CodeFile = "Default. aspx. cs" Inherits = "_ Default" %> Server round robin