[Web] http persistent connection technology (5) ajax demo

Both IE and opera support ajax well. (This is due to prototype. js encapsulation) This example uses a file to record chat records and implement simple chat rooms. In actual use, you must pay attention to the processing of large user concurrency,

Animated Effect of google.cn

.cn effect Google pinyin Google Toolbar mobile phone location online translation train time network speed test Perpetual calendar unknown

Use JScript to implement Paging

Var DataSet, SQL, DataList;Var I = 0;Var j = 0;DataList = new News ();DataSet = Server. CreateObject ("Adodb. recordset ");SQL = "select * from News where ngroup = 'group News 'order by id desc ";DataSet. Open (SQL, DataConn, 1, 1 ); // Whether data

Js magnifier code

Function initDetailProduct (ProductCode, AbstractCode, Amount, Size, searchType){$ J. post ("NewProductHandle. aspx", {ProductCode: ProductCode, searchType: searchType}, function (data ){Eval (data );Var productGroupID = document. getElementById

Uninterrupted text scrolling

Application Description: The page contains  Create an instance:// Direct parameter value assignmentNew Marquee ("marquee ")New Marquee ("marquee", "top ")......New Marquee ("marquee)New Marquee ("marquee", "top", 1,760, 5000)......New Marquee

Memory release for JS programming in IE

In JS programming under IE, the following programming methods will cause the failure to release the memory even if IE is disabled. The following categories are provided: 1. the attribute added to the DOM object is an object reference. Example:Var

Obtain the MAC address of the client Nic

Javascript obtains the MAC address, IP address, and computer name of the client Nic.In a B/S system, we often need to obtain some information about the client, such as IP and MAC, for identity authentication. It is easy to obtain the MAC address of

Javascript timing functions setInterval () and setTimeout () Analysis

This article will analyze the usage and differences between the javascript timer function setInterval () and setTimeout (). For more information, see. SetTimeout (expression, delay time) is a Timer Program, that is, what to do after what time, only

Javascript control text display code

We often see that many articles on the website can customize the font size and medium size. Below I would like to recommend a js control text display code for you. If you need it, you can refer to it. Javascript control text display The

My97Date date control class prompt: WdatePicker has no permission

Today, when using my97date, the system suddenly prompts that access is denied or you do not have the permission or \ 'invalid invalid Doc ument or \ '$ dp \' is empty or not an object, later, I found some solutions on the Internet.

Js click Copy text to clipboard code Summary

This article collects several common summaries and shares about clicking Copy text to clipboard code. We usually use clipboardData to copy text to the cut version in ie. setData is used for instances. For more information, see. IE browser

Js url parameter acquisition, setting, modification, and parsing code

In the past, we briefly talked about how to obtain url parameters in js. This article describes how to obtain, set, modify, and parse js url parameters. Obtain url parameters The Code is as follows: Copy code The core

Exploration of javascript loop usage and Optimization

This article will introduce some performance optimization methods when using js event seeding loops. Below I will introduce some basic JS knowledge, it was found that the JS loop is significantly different from the loop in other languages, and then

Js + css tab switch effect code

This is the TAB (js + css) switching technology that I often use in website design. One is click switching, and the other is touch switching, which is comprehensive. Although there will be a lot of online searches, the tabs below are carefully

Image loading event (onload) and loading status (complete)

This article describes how to use the onload and complete operations of an image. Previously, we had to scale the merchant pictures on the merchant page according to the size of the box outside the image. The previous idea was to first output the

Javascript checks whether the variable is a numeric instance

In js, we can use regular expressions to check whether the variable is a number. In addition to regular expressions, we can also use the isNaN function to check for non-numeric values. In this way, we can also obtain numbers, the following is an

Example of adding a method (sum, maximum) to an array using Javascript

This article will give you a detailed description of how to find the array and the maximum value in js. Next I will introduce several examples to you.   The Code is as follows: Copy code In addition, a method is

Window. open blocked by the browser solution

Window. open is a js command to open a new window. It is often used to open a window. However, many browsers have used Windows. open is blocked. Next I will introduce the solution to window. the method of blocking open. First look at a common window.

Principle of the array sorting sort method in js

Today, I will introduce you to the principle of an array sorting sort method in js. I hope this method will be helpful to you. Recently, Baidu projects used to sort arrays. Of course, at the beginning, we naturally thought of the array sort method.

Total Pages: 472 1 .... 214 215 216 217 218 .... 472 Go to: GO

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.