As the title says, what I am trying to do is to have jQuery add a number of extra fieldsets based on the value selected in a drop-down box. For example, when the page loads,
Why are you cloning instead of just doing something like this (together with your current event listener)?
$(".divWhereTheseGo").empty(); var count = 0; while (count < maxItems) { $(".divWhereTheseGo").append("your form info"); count++; }
The count in the fieldset is how you can handle the unique id issue.
count