I recommend using JQuery Templates.. https://github.com/BorisMoore/jquery-tmpl
very nice plugin that will give you functionality you need the way you are using with Arrays of Inputs..
Other than that, you're right there - adding dynamically these div using .append or .after;
I suggest you try this, then expand on it when you have it working basically..
$('#yourContainerDiv').append('<div>Div Inside Selected Div</div>');
or
$('#yourDivs:last').after('<div>New Div</div>')
Thanks, JFIT