I'm trying to append some HTML to a div multiple times.
Here's how I'm currently doing it: http://jsfiddle.net/9m1cfL4u/
I want to append it 4 times in total, this method works perfectly fine but is there a tidier way to do this than calling the same append every time? It looks messy and "un-proper" to me!
Thanks for any help!
$('.banner').append('<div class="content"></div>');
$('.banner').append('<div class="content"></div>');
$('.banner').append('<div class="content"></div>');
$('.banner').append('<div class="content"></div>');