Although it may appear to be a common inquiry, my specific needs have not been addressed in any of the Stack threads I've come across.
I am dealing with a series of nested DIV statements, as demonstrated here (not all CSS included).
I am looking to create a basic script that can carry out the following:
for (i = 0; i < data.length(); i++) {
//append DIV
//add identifying class/id
//change text values
}
If it helps, I am using d3.js for a few visualizations alongside these DIVS. If it would be easier, I can generate those DIVs in d3, but I'm unsure about how to go about it. Any advice or suggestions would be greatly appreciated. Thank you!