I've got it working with
I now have another 'this' problem.
I want to number each div as it is added. I can do this with a counter that is increased with each div added.
window.counter = 0;
//$('.container em', this).html(window.counter);
The problem is each div is numbered the same as the counter increases. I want each div numbered separately - 1,2,3 etc.
Again any help would be greatly appreciated.