In the pop-up layer 1: JQuery. boxy (1) describes JQuery. the basic usage of Boxy. In this lecture, it is easy to manually create an instance. passing some parameter objects can meet different needs. 4.1 manually create an instance
The Code is as
We set the password strength level to 10, make an image to indicate the status of each level, bind the keyup event to the password box, obtain the password value through the keyup event, and then use the regular expression to determine the password
As we all know, C # uses traditional class inheritance, but in JS, it is not that simple, because it uses prototype inheritance, the implementation is a little more complicated. [Nonsense]
I was very impressed by one of the questions asked by the
The image rotation effect is everywhere, but I still try to encapsulate a function. One page can be called multiple times... Because the beginner code is not well written, one of the files can be kicked out of a js file. This is for the convenience
These two days have been the effect of the drag-and-drop operation. Since we have to consider all aspects of a special effect, we can learn the real knowledge. No, I sorted out another drag-and-drop special effect. This can be different from the
The basic knowledge of javascript reinforcement is designed to pave the way for future research on jQuery source code. I recently consulted javascript and found a function:
The Code is as follows:
Function format (s){Var args = arguments;Var
There are two annotation methods in javascript: single-line annotation and multi-line annotation. There are two annotation methods in javascript:
Single line comment ://
Multi-line comment :/**/
Annotations are mainly used to make the
The keyword null in JavaScript is a special value, which indicates "no value ". Null is often seen as a special value of the object type, that is, the value of "no object.
The Code is as follows:
Javascript null and undefined
A very interesting website, which is a German Soda Company website (Devin Shenma). the homepage of the website has a water bottle, and the water in the water bottle will decrease as we pull down the scroll bar. Very interesting. Xiao Xie followed
It takes less than a month to enter the project. I am familiar with this secondary development project because the previous issues are more serious. The export, chart, and print functions of reports are not implemented, so the workload for these two
JavaScript allows three basic data types of numbers, text characters, and boolean values. The number includes the number of characters. in addition, it supports two small data types: null (null) and undefined (undefined). The two small data types
Document. getElementById is often used. For more details, see. Use your brain as a browser to execute the following code twice: IE6 and IE9:
The Code is as follows:
Function testFunc (){Alert ('test ')}$ (Function (){Var g = document.
Today, we can see the use of closures without any worries, and sort out the closure items. The definition of a closure is very obscure-a closure refers to a syntax domain located in a specific area with a continuous reference (read/write) section of
A great blog article was written by PPK two years ago. The article explains that the contains () and compareDocumentPosition () Methods run on their respective browsers. Since then, I have done a lot of research on these methods and have used them
JavaScript advanced programming error handling and debugging learning notes. For more information about js learning, see. Chapter 3 error handling and debugging
1. Enable browser error reporting
1.1 Internet Explorer
□Toos → Internet Option →
Recently I encountered a problem when working on the project: Using window. close () in js, IE works normally, but FireFox sometimes works, sometimes does not. The search result is as follows:
When a column is rendered using render, if the column width is insufficient, the extra content is hidden and cannot be displayed. In this case, you need to move the mouse over the tip function to prompt all content. The rendering function is written
By accident, I found a very beautiful slide effect code on the Internet. I 've sorted out the code for a very beautiful tab slide effect, which is implemented by the js class, you can modify and accidentally browse the Internet to find a very
There are more and more tools that support javascript debugging, mainly divided into ie and firefox. It is difficult to debug javascript on other browsers. JavascriptDebugToolkit solves this problem. It is possible to Debug javascript. Javascript
This example is successfully tested in ff2.0ie6ie7. But it fails in opera8.5cn. We hope you can test it.
The Code is as follows:
Auto proportional scaling down and vertical center-www.jb51.net
function imgFix() {
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