In the implementation process of the accounting system recently, the customer requires that each entry be automatically selected when the credential entry is entered. If the entry is in the hidden area of its div, scroll to the display area.
The node. js module system has two important features:
1. variables defined using var in a module only apply to the current module, rather than the global one.
2. You can use the "require" and "module" global variables in each module ". The
Jquery has recently been used for projects. Now I want to share my experiences.
1. jquery has the following features:
1. concise code, easy-to-understand semantics, fast learning, and rich documentation.
2. jQuery is a lightweight script with very
This control is successfully tested on the latest Google browser, the latest Firefox browser, and IE8, with good compatibility. It is easy to expand and the calling method is simple. You can select your own date control for future projects.
For
=: Value assignment=: Determines whether the values are equal, but not strictly equal. It only determines whether the values are equal and does not determine the type. For example:
The result is displayed as true;
===: The values and types are
Click the pop-up layer to hide other pop-up layers. (1. Hide all layers. 2. Determine whether the pop-up layer is displayed. If it is displayed, it is hidden. If it is hidden, it is displayed)1. For ajax request data, use$ ("# SimpleTip"). click
When uploading a file, you often need to determine the file type, that is, the extension name of the file. This can be easily done using javascript. There are many methods to parse an absolute path file name and get the suffix by using Javascript.
Here, just write down important things! This chapter is the foundation of the Foundation!
Conversion of javaScript values:/** JavaScript numeric Conversion* ParseInt/parseFloat* The parseInt () method first checks the character at position 0 and
SetTimeout ("test ()", 1000): executed once after a given timeSetInterval ("test ()", 1000)The time unit is milliseconds.SetTimeout can also be used for repeated execution after a fixed period of time:Function test (){// Your logic
When we close a window that is not opened in window. open mode, a prompt box is usually displayed. How can we remove the prompt box? Refer to the following key code:
[Javascript]
You can call this function when you need to close this window!
In
When verifying a form, you often need to obtain the value of the element name = '***' in the form and then judge it. JQuery provides jQuery. serizlizeArray to serialize a form into an array. However, arrays are inconvenient for us to operate. I need
Source: my blog
Recently, I promised Mr. Zhang to write a short address service for 42qu. Some new things were learned during the writing process. JS operations on the clipboard is one of them.
Javascript itself certainly provides an interface for
This figure is from Chapter 3 P184 of JavaScript language essence and programming practice. I recently changed the second version. This figure has been redone. You can check the figure as needed.
In addition, the following concepts are added:
1.
Ii. View EXTJS from DOM
Someone may ask, why don't I have to look at the title from DOM? The answer is that the goal is only one: to better understand EXTJS in self-running resultsFirst, you have to rely on the dot tool. What should I do with a
You cannot directly modify the clipboard value. Instead, you must modify it after a period of time (such as 0.1 s ). My articles my articlesMy articles my articlesFrom Xu Yue's column
IntroductionThe Module mode is a very common mode in JavaScript programming. Generally, everyone knows the basic usage. This article attempts to give you more advanced usage of this mode.First, let's take a look at the basic features of the Module
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