Demo sample
Attention
Method
often use window.location. Its structure always cannot remember. Simply comb it down. Convenient for later inquiries.Demo sampleUrl:http://b.a.com:88/index.php?Name=kang&when=2011#first
Regular Expression Debugging tool : Http://www.w3cfuns.com/tools.php?mod=regexhttp://regexper.com/Define and usevar patt1 = new RegExp ("Hello");var patt2 =/world/;Test methodThe test () method retrieves the specified value in the string. The return
1. There are three event models: the original event model (supported by all browsers), the DOM2 (supported by browsers except IE), the event model, the IE event model, and the Netscape event model. ----------------------------------------------------
Single -line release:// multiline annotation :/* Comment content * /define variable: var variable name;Judgment statement:If...elsedefine functions: function name () {function body;}output content to Web page:document.write (); output HTML tags,
Data structure of JavaScript Data structures include identifiers, keywords, constants, variablesIdentifier: is a name. Used to name variables and functions, or as labels for some loops. The first letter must be a letter, an underscore, or a dollar
See the code todayif void typeof Argument1 = = = ' object ') {What does it mean?OverviewvoidThe operator evaluates its operand expression and then ignores the result of the evaluation and returns it directly undefined .GrammarExpressionDescribeWe
Factory mode: An on-surface object design pattern that implements the concept of "factory". The essence is to define an interface for creating objects, but let the class that implements the interface decide which class to instantiate. The factory
Confirmation (Confirm Message dialog box) Ask a question (Prompt message dialog box) prompt pop-up message dialog box, often used to ask some information that needs to interact with the user. Pop-up message dialog box (contains a OK button,
Examples of usage of the floating layer framework implemented by JavaScript, and analysis of javascript instances
This example describes the usage of the floating layer framework implemented by JavaScript. Share it with you for your reference. The
JS + DIV + CSS layout achieves beautiful tab effect, divcss
The example in this article describes how JS + DIV + CSS layout achieves beautiful tab effects. Share it with you for your reference. The details are as follows:
This is a simple JavaScript-
JQuery implements the method of hiding layer text links when the mouse passes. jquery text links
This example describes how jQuery uses the hidden layer text link when the mouse passes through. Share it with you for your reference. The details are
JS implements the pop-up box code of Sina Weibo effect with a mask layer, and js mask
The example in this article describes the pop-up box code for JS to implement Sina Weibo effect with a mask layer. Share it with you for your reference. The
Introduction to ajax async synchronization and Asynchronization of jQuery
The project has such a requirement: load data using ajax, return the page and assign values, and then the front-end retrieves the valueThis involves the order of codes.
JQuery uses only three lines of code to implement the complete display and hide functions, and jquerythree lines
This article describes jQuery's display and hide functions with only three lines of code. Share it with you for your reference. The
JS achieves the mouse drag effect of the collapsed layer, and js drag
The example in this article describes how JS achieves the mouse dragging effect of the collapsed layer. Share it with you for your reference. The details are as follows:
This is a
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