JavaScript technology often used in B-S development (please collect one by one)

xiaoxiao2021-03-05  23

I. Verification class 1, digital verification 1.1 integer 1.2 greater than 0 integers (verification for the ID) 1.3 Verification of negative integers 1.4 integers cannot be greater than IMAX 1.5 integers cannot be less than IMIN 2, time class 2.1 short, shape Such as (13:04:06) 2.2 short days, like (2003-12-05) 2.3 long, shaped like (2003-12-05 13:04:06) 2.4 Only year and month. For example (2003-05, or 2003-5) 2.5 Only hours and minutes, shaped (12:03) 3, the value of all forms 3.1 All forms cannot be empty 3.2 Multi-line text box cannot be empty. 3.3 Multi-line text boxes The value cannot exceed SMAXSTRLENG 3.4 Multi-line text boxes cannot be less than SMIXSTRLENG 3.5 judge whether the radio box is selected. 3.6 Decision check box is selected. 3.7 Collection, multi-selection, unchecked, reverse selection 3.8 file Upload During the process of determining the file type 4, the character class 4.1 judgment character is composed of AZ or AZ. 4.2 The judgment character consists of letters and numbers. 4.3 Judgment Character consists of letters and numbers, underscores, codes. And the beginning can only be underscore and letters 4.4 string replacement function.Replace (); 5, browser class 5.1 Judging the browser type 5.2 Judge IE version 5.3 Determine the resolution of the client 6, combined with the class 6.1 email judgment. 6.2 Verification of mobile phone number 6.3 Verification of ID card II, Function 1, Time and Related Control Class 1.1 Calendar 1.2 Time Control 1.30 Voluntary 1.4 Display Dynamic Display Clock Effect (Text, such as OA Mid Time) 1.5 Display Dynamic Show Clock Effect (Image Like watch) 2, form class 2.1 automatic generation form 2.2 Dynamic addition, modification, delete element 2.3 can enter the drop-down box 2.4 Multi-line text box in multiple line text boxes can be entered in multiple lines of text boxes. If you are more input, you will automatically reduce the iMAX text (more for SMS send) 3, print class 3.1 Print Control 4, Event class 4.1 Mask Right click 4.2 Shield all function keys 4.3 -> and <- f5 f11, f9, f1 4.4 Shielding Competence Ctrl N 5, web design class 5.1 Continuous scrolling text, picture (note is continuous, no blank appearance in two words and pictures) 5.2 HTML Edit Control class 5.3 color selection box control 5.4 drop-down menu 5.5 two Layers or multi-level drop-down menu 5.6 Imitation IE menu. (Effects, such as rongshuxa.com's navigation section) 5.7 status bar, the dynamic effect of the Title column (there are many examples, you can study) 5.8 After double-click, the web page automatically scrolls 6, the tree structure.

6.1 ASP SQL version 6.2 ASP XML SQL version 6.3 Java SQL or Java SQL XML 7 Vector Bayo curve 11, manipulating client registration form 12, DIV layer related (drag, display, hidden, mobile, increase) 13, Tablae related (client dynamic increase row, simulation progress bar, scroll list, etc.) 14, Various related classes, such as players, Flash and script interaction, etc. 16, refresh / simulation brushless asynchronous call (XMLHTTP or IFRAME, FRAME)