1. BOM Overview 2. Common methods of Window objects Case: JavaScript documentfunction Showinfo () {var flag = confirm ("Confirm that the order is deleted?") "); if (flag = = True) {alert ("Delete succeeded!") "); } else {alert ("Cancel delete. ");
The previous article said that it was one of the three major components of JavaScript, in which the DOM (Document Object Model) is the documentation-based, as the name implies, primarily used in documents, APIs for HTML and XML documents
Each JavaScript function has a prototype property (JavaScript object does not have this property), which refers to an object, which is a prototype object. JavaScript allows us to modify this prototype object. There are 2 ways to modify it:Mode 1:
Today, I learned the following JavaScript language, never thought about why to use anonymous and closures, for JS local variables and the concept of global understanding is not deep, consider the following code:JS code function f1 () {var
JS implements the method of controlling the content alignment of Specified Cells in the tableThis article describes how to use javascript to align the content of specified cells in a control table. It involves the techniques of javascript to
Javascript makes 2048 games
I have been playing the 2048 game over the past few days. I suddenly tried my best to practice the idea of writing a program, so I just imitated it. The current position has not yet achieved dynamic movement, which is not
How to control the vertical alignment of table cells using JS
This article mainly introduces how to use javascript to control the vertical alignment of table cells. It involves the javascript operation form Element styles and has some reference
How to dynamically Add rows to a table using JS
This article mainly introduces how to dynamically Add rows to a table by using javascript. It involves the dynamic addition techniques of javascript for table rows and has some reference value. For
Introduction to Node. js asynchronous programming Callback (1)
This article mainly introduces Node. introduction to Callback in js asynchronous programming (1). This article uses examples to explain the Callback related knowledge. This article is
JQuery uses the hide method to hide the usage instance of the specified Element class style
This article mainly introduces jQuery's use of the hide method to hide the specified Element class style. The example analyzes the hide's tips for hiding the
Native js combined with html5 to create a simple Jump ball for Xiao feilongThis article mainly introduces the native js method and code sharing for making a simple Jump ball with html5. We recommend this article to you. If you need it, you can refer
HTML document html, html5, css, css3,
Various HTML tags and simple applications:
http://www.w3school.com.cn
1 2 3 horizontal line 4 retain spaces and line breaks in the label 5 Computer code 6 7 Keyboard input 8 9 Teletype text 10 11
AngularJS 2.0 early adopters
Angular 2.0 is still under development and has not yet been officially released.
This article uses an example on the official AngularJS website to introduce some new features and new writing methods of AngularJS (these
Js creates array-to-json Functions
Here we will share with you a piece of function code that converts arrays into json using js. The code is concise and easy to understand, and the usage method is attached. Let's try it.
The code is very simple.
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