Reprinted from: http://blog.csdn.net/dxnn520/article/details/7927461Brief introduction:When the page loads, the JS code embedded in the HTML tag and the JS code located between the will be executed; When called, it is located in the Between code
First, the String object introductionThe string object, like any other language, is used for processing strings.Strings are estimated to be the most used in real-world development, so the use of strings can also affect the speed of project
One, what is event bubblingFires a class of events on an object (such as clicking the OnClick event), and if this object defines a handler for this event, then this event invokes the handler, and if the event handler is not defined or the event
Previously only known to declare variables directly in the script tag, this variable is a global variable that can be accessed throughout the page (e.g. code-1). It has been a long time to let me think of confusion, in the case of more than the page
Simple Power Function instance implemented by JavaScript, javascript instance
This example describes the simple power function implemented by JavaScript. Share it with you for your reference. The specific implementation method is as follows:
JavaScript controls the method for the webpage to smoothly scroll to the specified Element location, javascript Element
This example describes how JavaScript controls the smooth scrolling of a webpage to the position of a specified element. Share it
JavaScript controls how to open a file and save it as a dialog box.
This example describes how to control the open file and save it as a dialog box in JavaScript. Share it with you for your reference. The details are as follows:
Here, the "Save
The simplest JavaScript code verifies the regular expressions of integers, decimals, real numbers, and effective decimal places.
the easiest way to verify numbers regular Expression Daquan enter and press enter to verify the expression! (The
JQuery shows the method and code instance for hiding the DIV, and jquerydiv code instance.
1. If it is hidden during loading:Copy codeThe Code is as follows:
2. dynamically hide and display:
Copy codeThe Code is as follows: "Class =" btn "/> "Class =
Summary of several methods for displaying and hiding divs using JQuery, and several methods for jquerydiv
ExampleCopy codeThe Code is as follows:$ ("# Top_notice" ).css ("display", "block"); // method 1st// $ ("# Top_notice"). attr ("style",
JQuery implements the method of obtaining json data when selecting the drop-down list, jqueryjson
This example describes how jQuery can obtain json data when selecting from the drop-down list. Share it with you for your reference. The details are
JS to capture the console. log () output method, jsconsole. log
This article describes how to capture console. log () Output in JS. Share it with you for your reference. The specific analysis is as follows:
We know that console. log () can output
CSS implements a line-by-line table and css line-by-line table
Create a line table, use border-collapse: collapse; to define it in the table, and then use border: 1px solid # f00 for td; to define the border style.Example:
codezone codezone
ExtJs dynamically creates a tree through the background
The method for dynamically creating a tree in ExtJs is: when the TreeStore of the tree is to be loaded, ajax requests background data and dynamically loads the tree structure based on the
Js array deletes elements based on subscript, js array deletes elements based on subscript
1. Create an array
Copy codeThe Code is as follows:Var array = new Array ();Var array = new Array (size); // specify the length of the arrayVar array = new
Example of window. open usage in JavaScript, window. open usage
This article analyzes in detail the usage of window. open in JavaScript. Share it with you for your reference. The details are as follows:
Copy codeThe Code is as follows:
Parameter
JavaScript-based drag-and-drop of webpage objects
This example describes how to use JavaScript to drag and drop webpage objects. Share it with you for your reference. The details are as follows:
Drag
I hope this article will help you
JQuery radio (single-choice button) operation method summary, jqueryradio
As Jquery becomes more and more useful, more and more friends are using it. In the Web, because the CheckBox, Radiobutton, DropDownList, and other controls are frequently used,
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