Home  >  Article  >  Backend Development  >  javascript - js How to add a row of data to another div according to the add button, and also make the position style consistent with the sorting style of the list on another page

javascript - js How to add a row of data to another div according to the add button, and also make the position style consistent with the sorting style of the list on another page

WBOY
WBOYOriginal
2016-12-05 13:44:211311browse

How can js add a row of data (including title, author, time, etc.) to another div according to the add button, and the position style should be unified with the sorting style of another page list, which is similar to the picture below, click to add to On the second picture
javascript - js How to add a row of data to another div according to the add button, and also make the position style consistent with the sorting style of the list on another page

javascript - js How to add a row of data to another div according to the add button, and also make the position style consistent with the sorting style of the list on another page

Reply content:

How can js add a row of data (including title, author, time, etc.) to another div according to the add button, and the position style should be unified with the sorting style of another page list, which is similar to the picture below, click to add to On the second picture
javascript - js How to add a row of data to another div according to the add button, and also make the position style consistent with the sorting style of the list on another page

javascript - js How to add a row of data to another div according to the add button, and also make the position style consistent with the sorting style of the list on another page

clone past

According to clicking on the index of a certain row of records, this data is found in the data collection. If a table is used, the callback method should have rowData parameters. After getting the data, render the div that needs to add additional elements based on the data

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn