This is my first blog, starting from today to record what I learned, I hope I can learn more and more.JavaScript output: document.write () Four ways:1. Direct output double quotation mark content document.write ("");2. Output variable name, such as:
It's not going to work on the web, it's probably the frame being eliminated.My method triggers the corresponding a-tag click event via the A-tag binding framework and then needing to refresh the frameA tag binding framework a tag Add property target=
Agree to the relevant terms when not ticked, the login button is gray and cannot be submitted, click the gray Sign-in button to agree to the relevant terms, tick and turn into bright light and can submit information.check box and text:1 2 3
Three ways to use :
Put in the
Put in the
Placed in an external JS file
Three ways to output data:
Use the document.write () method to write content to an HTML document.
Use the Window.alert () pop-up
In understanding the execution environment, I personally have a way of understandingThe entire execution environment can be thought of as a planet, and we are all active here, each with certain features and skills.Then the global execution
Let str = ' ABCDE ';Intercept stringSlice (start, end)//intercept string from start position to end-1 position (left closed right open middle)Console.log (Str.slice (1, 3)); ' BC 'CharAt (n)//intercept a string of length 1, n string subscript, to
This article is divided into three parts:1, JS digital precision loss of some typical problems2, the reason for the loss of JS digital precision3. Solutions (one object + one function)First, JS Digital precision loss of some typical problems1. Two
The most complete JavaScript question summary in history (with answer included)-CSDN Bloghttp://blog.csdn.net/u011277123/article/details/702087686. What are non-declared and undefined variables? --Why not assign a value?A variable that is not
Code snippetfunction foo () { var a = 2; function Bar () { console.log (a); } return bar; } var baz = foo (); Baz ();The above code snippet is a closure.Closures
1. Speed up the loading of JavaScript filesby default, the browser encounters a JavaScript reference when parsing a page and stops subsequent HTML code parsing until it waits for the JavaScript code file to be downloaded and run to complete before
1. Image loading effect. Browsers choose different rendering algorithms based on different images.1.1 wavelet algorithm: First blur and then clear. This loading method is faster and improves rendering performance. The disadvantage is that more
This article translates the JavaScript Tutorial playlist of up master Kudvenkat on YouTubeSOURCE Address here:https://www.youtube.com/watch?v=PMsVM7rjupU&list=PL6n9fhu94yhUA99nOsJkKXBqokT3MBK0bThe sequence is a collection and is sorted from 0. This
Study Notes JavaScprit30-6, javascprit30-6
What I learned today is the effect of searching for verses in real time.
First question:
Fetch ()
The Fetch API provides a JavaScript interface for accessing and manipulating parts of an HTTP pipeline,
Flex-shrink, box flex-shrink
The last time we learned about the usage of flex-grow, this week, let's take a look at the attributes of flex-basis.Flex-shrinkDefine the project scale-down ratio. The default value is 1. Note that the project is scaled
CSS naming rules: BEM; css naming: bem
A good code structure, the relationship between HTML and css elements, is very important for project delivery!
BEM explanation:
(1). block isBEM block (B), Including content and style. For example, the.
(Using DOM) Click CLOSE current browser window on the new page, dom browser window
1. during the development process, we sometimes require you to click a button to close the current browser window. You can use html DOM.
2. Note: This statement must
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