In the site of the management of the application of the majority of the background, such as a one-time processing of multiple products, or the deletion of the article to the product of the next frame, and so on, a point is obviously a bit of trouble, if you can put a checkbox for each row, and then unified treatment to do more Today I will use a simple space to explain the implementation of this function principle and implementation process.
The checkbox control is what we normally call a check box, which is typically used for opening or closing an option. This control is available in the Settings dialog box for most applications. What we see can be ticked is the checkbox.
The control indicates whether a particular state (that is, an option) is selected (on, the value is 1) or cleared (off, with a value of 0). Use this control in your application to provide users with a choice of "true/false" or "yes/no". Because the checkbox works independently of each other, the user can select as many checkbox as possible to combine options.
CheckBox checkbox JS Implementation of the full selection of all the functions, very simple, just insert a small section of the JS function on the line ...
The following is a set of checkbox HTML code for checkboxes
|1 2 3 4 5 6 7||<input name= ' multiple option name ' type= ' checkbox ' value= ' id= ' All ' onclick= ' CLI (' multi-option name '); " > select <input name= ' multi-option name ' type= ' checkbox ' value= ' > A <input ' multi-option name ' name= ' checkbox ' type= ' > B < Input name= ' multiple option name ' type= ' checkbox ' value= ' > C <input name= ' multi-option name ' type= ' checkbox ' value= ' > D <input name= ' Multi-option name ' type= ' checkbox ' value= ' > E <input name= ' multi-option name ' type= ' checkbox ' value= ' > F|
OK, you can copy the above code, modify the test ...
The above mentioned is the entire content of this article, I hope you can enjoy.