javascript - The problem of using js to manipulate tables and realize the change style of adding and deleting cells.
迷茫
迷茫 2017-05-16 13:45:16
0
1
691

As shown in the picture, when I check these checkboxes, the table generated is the one above.

If I cancel the consignee’s mobile phone number, the postal code will fill in the vacancies in the consignee’s mobile phone cell. The delivery address will fill in the vacancies in the postal code.

Manipulating any checkbox will add cells.

Masters from all walks of life? How to operate? Please give me some advice. You can also just talk about your ideas.

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
某草草

A relatively simple idea is to use p to simulate a table, set a fixed width, and then use float:left; that way, adding one will be automatically added to the back, and reducing one will fill the gap. As for the various borders of the table, use selectors to do it.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template