Example
Attention
Method
Often use window.location, its structure always can't remember, simple comb under, convenient later query.ExampleUrl:http://b.a.com:88/index.php?name=kang&when=2011#first
Properties
meaning
Reference: http://www.w3school.com.cn/jsref/met_win_settimeout.aspHTML DOM Window ObjectDefinition and usageThe SetTimeout () method is used to call a function or evaluate an expression after a specified number of milliseconds.GrammarSetTimeout
//==regexp===1. The test () method of the regular expressionvarresult;varstr = "Bcatasdsrtophe" ;varRe11 =/cat/g;//Match Catresult =re11.test (str);varRe12 =NewREGEXP ("Cat", "GI");//match Cat is case insensitiveresult =re12.test (str);varRe31
For me accustomed to c++,c# these object-oriented languages, JS has some of the same name, not the meaning of the object.Today I would like to say this. In C + +, this meaning is fixed and represents the object being called. But the same invocation
Reference: http://www.w3school.com.cn/jsref/met_win_setinterval.aspHTML DOM Window ObjectDefinition and usageThe SetInterval () method invokes a function or evaluates an expression according to the specified period (in milliseconds).The SetInterval (
Would like to find a "elegant" approach, similar to C # in invoking the C + + method when the invoke and the like. Did not find, then think, in fact, there is no need to write directly, it is the most elegant. Just less than the intelligence of VS,
Cross-document messages (Web Messaging cross-document Messaging) PrinciplePasses data to a document associated with (the same frame/popup). The Message channel is explained in JavaScript Foundation-ajax. WritingTwo IFRAME communication //
In IE, location. href is implemented through a to obtain the referer value and location. href is obtained.
Recently, the company's website needs to collect statistics on the pages on which users enter the registration page. In the beginning, it is
This vulnerability may cause JavaScript Memory leakage in several aspects.
Published in Google WebPerf (London WebPerf group) in August 26, 2014.
Efficient JavaScript Web applications must be smooth and fast. Any application that interacts with the
Various methods of refreshing the parent page by javascript, and summary by refreshing javascript
Use iframe and pop-up sub-page to refresh the iframe of the parent page
Pop-up subpage
Child Window refresh parent window
Refresh the window opened
Sample Code for calling the Server using JQuery in JavaScript, and sample code for jquery
Prepare the Server Method
[System. Web. Services. WebMethod] public static string VeryUserName (string name) {string rtn = "congratulations, this account has
JQuery 1.9 removed $. browser, which can be replaced by $. support. jquery. browser
$. Browser uses regular expressions to match userAgent to determine the browser version and type. jquery has been declared in the jquery1.3.2 document. browser and
[Css] For questions about hr in various browsers, csshr Browser
The split line hr is sometimes used on the page, but it is very painful to show in ie6 and ie7. This article will teach you how to write hr compatible with various browsers.
On the home
Javascript Object-Oriented Programming
Before learning js object-oriented programming, you must first know what object-oriented programming is. Object-oriented languages all have the concept of classes, through which you can create objects with the
Optimize brand logo style of sogou map for js version
From the previous blog, we can see that there are several similar brand signs that block each other and cannot be completely displayed. How can this problem be solved? Today we will study this
A good example of Ctrip user data drop-down select, Ctrip select
This is a data drop-down select that is similar to Ctrip's custom data. It describes some important parameters for beginners.
/** Id: id the parent element of the current plug-in *
Use jquery to achieve animation jump to the top and bottom (this is relatively simple), jquery to the top
When you click the top button, run the method. The scrollTop attribute gets the distance from the selected tag to the scroll bar. When you
Jquery allows you to switch the input focus by pressing Enter in various browsers. jqueryenter
During project creation, the customer requires that the input (Focus) can be directly switched using the enter key, and the information can be submitted
Text Box flashback input keeps the focus of the input box at the beginning.
The so-called text box flashback input means that the focus of the input box is always at the very beginning. When I enter 123456789, 987654321 is displayed in the input box.
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.