jQuery(document).ready(function($) {
$('#LM_MM_Plus_Icon').click(function(){
$('#LM_MM_New_Div').append($('#LM_MM_Plus_Icon_Block').html());
});
});
In the above function whenever I click on LM_MM_Plus_Icon
the html in LM_MM_Plus_Icon_Block
will appended to LM_MM_New_Div
(which is a empty div).
The user can click any number of times on LM_MM_Plus_Icon
, so that the html will be appended to LM_MM_New_Div
. But what I need is every time the user clicks on LM_MM_Plus_Icon
, a new LM_MM_New_Div
has to be created and the html to be appended in to it.
Currently all the html is appending to one single LM_MM_New_Div
.
LM_MM_Plus_Icon
?body
?