JavaScript technology often used in b/s development
1. Verification Class
1. Digital verification
1.1 Integer
1.2 Integer greater than 0 (for verification of incoming ID)
1.3 Verification of negative integers
1.4 Integer cannot be greater than iMax
1.5 Integer cannot be less than iMin
2. Time category
2.1 Short time, like (13:04:06)
2.2 Short date, like (2003-12-05)
2.3 For a long time, it looks like (2003-12-05 13:04:06)
2.4 Only year and month. Like (2003-05, or 2003-5)
2.5 Only hours and minutes, like (12:03)
3. Form category
3.1 All forms cannot be empty
3.2 The value of a multi-line text box cannot be empty.
3.3 The value of a multi-line text box cannot exceed sMaxStrleng
3.4 The value of a multi-line text box cannot be less than sMixStrleng
3.5 Determine whether the radio box is selected.
3.6 Determine whether the check box is selected.
3.7 Select all check boxes, multiple selections, non-select all, reverse selection
3.8 Determine file type during file upload
4. Character Class
4.1 The judgment characters are all composed of letters of a-Z or A-Z
4.2 Judge the character consists of letters and numbers.
4.3: Judgment characters consist of letters and numbers, underscores, and dots. The only thing that starts is underscores and letters.
4.4 String replacement function.Replace();
5. Browser class
5.1 Determine the browser type
5.2 The version of judging ie
5.3 Determine the resolution of the client
6. Combination category
6.1 Email judgment.
6.2 Verification of mobile phone number
6.3 Identity card verification
2. Functional categories
1. Time and related controls
1.1 Calendar
1.2 Time control
13: Perpetual calendar
1.4 Display dynamic display clock effect (text, such as time in OA)
1.5 Display dynamic display clock effect (image, like watch)
2. Form category
2.1 Automatically generate form
2.2 Dynamically add, modify, and delete elements in the drop-down box
2.3 The drop-down box where content can be entered
2.4 Only iMax text can be entered in the multi-line text box. If you enter more, it will automatically reduce to iMax text (mostly used for SMS sending)
3. Printing class
3.1 Print controls
4. Event category
4.1 The right button of blocking
4.2 Block all function keys
4.3 --> and<-- F5 F11,F9,F1
4.4 Block key combination ctrl+N
5. Web design category
5.1 Continuous scrolling text, pictures (note that it is continuous, and there are no blanks in the two paragraphs of text and pictures)
5.2 html edit control class
5.3 Color marquee control
5.4 Pull-down menu
5.5 Two-layer or multi-layer drop-down menu
5.6 Imitate the buttons of the IE menu. (Effects such as navigation column)
5.7 The dynamic effects of the status bar and title bar (there are many examples, you can study it)
5.8 After double-clicking, the web page will automatically scroll.
6. Tree structure.
6.1 asp+SQL version
6.2 asp+xml+sql version
6.3 java+sql or java+sql+xml
7. Production of borderless effects
8. Connected pull-down box technology
9. Text sorting
1. Verification Class
1. Digital verification
1.1 Integer
1.2 Integer greater than 0 (for verification of incoming ID)
1.3 Verification of negative integers
1.4 Integer cannot be greater than iMax
1.5 Integer cannot be less than iMin
2. Time category
2.1 Short time, like (13:04:06)
2.2 Short date, like (2003-12-05)
2.3 For a long time, it looks like (2003-12-05 13:04:06)
2.4 Only year and month. Like (2003-05, or 2003-5)
2.5 Only hours and minutes, like (12:03)
3. Form category
3.1 All forms cannot be empty
3.2 The value of a multi-line text box cannot be empty.
3.3 The value of a multi-line text box cannot exceed sMaxStrleng
3.4 The value of a multi-line text box cannot be less than sMixStrleng
3.5 Determine whether the radio box is selected.
3.6 Determine whether the check box is selected.
3.7 Select all check boxes, multiple selections, non-select all, reverse selection
3.8 Determine file type during file upload
4. Character Class
4.1 The judgment characters are all composed of letters of a-Z or A-Z
4.2 Judge the character consists of letters and numbers.
4.3: Judgment characters consist of letters and numbers, underscores, and dots. The only thing that starts is underscores and letters.
4.4 String replacement function.Replace();
5. Browser class
5.1 Determine the browser type
5.2 The version of judging ie
5.3 Determine the resolution of the client
6. Combination category
6.1 Email judgment.
6.2 Verification of mobile phone number
6.3 Identity card verification
2. Functional categories
1. Time and related controls
1.1 Calendar
1.2 Time control
13: Perpetual calendar
1.4 Display dynamic display clock effect (text, such as time in OA)
1.5 Display dynamic display clock effect (image, like watch)
2. Form category
2.1 Automatically generate form
2.2 Dynamically add, modify, and delete elements in the drop-down box
2.3 The drop-down box where content can be entered
2.4 Only iMax text can be entered in the multi-line text box. If you enter more, it will automatically reduce to iMax text (mostly used for SMS sending)
3. Printing class
3.1 Print controls
4. Event category
4.1 The right button of blocking
4.2 Block all function keys
4.3 --> and<-- F5 F11,F9,F1
4.4 Block key combination ctrl+N
5. Web design category
5.1 Continuous scrolling text, pictures (note that it is continuous, and there are no blanks in the two paragraphs of text and pictures)
5.2 html edit control class
5.3 Color marquee control
5.4 Pull-down menu
5.5 Two-layer or multi-layer drop-down menu
5.6 Imitate the buttons of the IE menu. (Effects such as navigation column)
5.7 The dynamic effects of the status bar and title bar (there are many examples, you can study it)
5.8 After double-clicking, the web page will automatically scroll.
6. Tree structure.
6.1 asp+SQL version
6.2 asp+xml+sql version
6.3 java+sql or java+sql+xml
7. Production of borderless effects
8. Connected pull-down box technology
9. Text sorting
1234Next pageRead the full text