I am using a javascript jquery plugin that creates a select box and an input box. I have it inside a for loop which replicates the select and input box for the amount of times it iterates. What I am trying to do is while it is in the loop for each time the select and input box get created it gets thrown inside a div with a unique id of course.
Below is my explanation and where I am currently at appreciate any help.
What I have tried:
for(i=0; i<Qty; i++)
{
var newDiv = document.createElement('div');
newDiv.id = 'd'+ i;
newDiv.className = 'myClass';
form.render();
}