KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a dynamic table that I want to attach <col> elements with jQuery. I have this: var tds = jQuery("tr > td").length; // count how many tds jQuery("#colgroup-compare > col").clone() // clone .appendTo('#colgroup-compare'); // and append Obviously this only appends 1 <col> , I want to append (n) numbers. How would I do this? I have the length, I have the clone ability, now how do I combine it?
Tags (comma-separated)
Save Edits
Cancel