I have a page user can dynamic add or edit html value like below, and I need to save it to database, I found a way- php read csv file and then update to database, but now my problem is
How to export html value(not table) to a csv file with jquery?
<div class="list">
<div class="number">1</div>
<div class="text">a</div>
<div class="text">a</div>
</div>
<div class="list">
<div class="number">1</div>
<div class="text">a</div>
<div class="text">a</div>
</div>
..
.text()