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