This is my second article on JavaScript, which has been a few years of Java development and found that JavaScript is an object-oriented language but it does have a lot of differences. In this blog, the main learning to summarize the recent learning
javascript------Functions (general functions, dynamic functions, anonymous functions)
function
First, the general function
1. Format:
Function name (formal parameter ...)
{
Execute
In some complex pages, we often use JavaScript to deal with some of the dynamic effects of DOM elements, which is often used to calculate the location and size of some elements, the browser compatibility problem is not negligible, to write the
This article is the author's personal summary of some of the judging conditions when looking at the Liaoche teacher JavaScript tutorialnull、undefined、0、NaNand an empty string‘‘Asfalse, all other values are consideredtrue, so the result of the above
One of the hottest technologies in Today's JavaScript technology World is ' event delegation '. Using Event delegation techniques allows you to avoid adding event listeners to a particular node, and instead, event listeners are added to their parent
The combination pattern is the use of small sub-objects to build larger objects, and these small sub-objects may be made up of smaller "grandchild objects".Combined mode combines objects into a tree structure to represent a "partial-whole" hierarchy.
1. variables1.1 Basic output Statements Console.log ("content on console output"); document.write ("write content in a document"); Window.alert ("actually the method of window");1.2 Code commentsLine Comment/*** The function of functions
Relationship of function object and other internal objectsIn addition to the function object, there are many internal objects, such as object, Array, Date, RegExp, Math, and Error. These names actually represent a type, and you can return an object
H5 new tag, h5 tag
A tag defines external content. For example, a new article from an external news provider, text from a blog, or text from a forum. Or from other external sources.HTML5: HTML4:
A tag defines content other than article. The
Id selector, class selector, property selector, and id selector attribute
When editing a webpage, you usually need to set the style. With the help of the selector in CSS style design, we can easily manage and set them.
Today, we will share with you
Efficiency Test of several methods for removing the JavaScript array, javascript Array
The following is my summary of the three high-efficiency methods on the Internet and the efficiency test. If you have better comments or suggestions, you can also
Javascript vue. js table paging, ajax asynchronously loading data, vue. jsajax
Paging is generally used together with a table. A paging link is used as a part of a table. It is reasonable to encapsulate a paging link into an independent component
In bootstrap, google pretloads is used to highlight code. bootstrappretloads
Use google pretloads to highlight the code.
:
Http://code.google.com/p/google-code-prettify/
Http://www.bootcdn.cn/prettify/
Network import address: //
Java-sdk: complete process for uploading and downloading images.
The image upload interface of js-sdk is used in a recently developed project. Here we will summarize it.
The basic configurations of using js APIs can be found
Example code of magnifiers implemented by native JS and js magnifiers
This is the magnifier I wrote with native js. Compared with various framework technologies, I like to use native js. Here, I would like to share with you the understanding and
Summary of common JS functions and techniques, and summary of js skills
What is summarized during the learning and work process, including common functions, common js skills, common regular expressions, git notes, and so on. It provides a simple
A detailed tutorial on the Bootstrap framework (2 ).
Bootstrap, from Twitter, is currently the most popular front-end framework. Bootstrap is based on HTML, CSS, and JAVASCRIPT. It is concise and flexible, making Web development faster.
1. Download
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