Hello! Friends, please tell me!
There are several dynamically created blocks class
test:
AddAddAdd
When you click on
Add, I would like to create the desired block in the current block div.test and click on
Add.
$(document).on("click", ".create-block", function () { $('.test').append('NEW BLOCK!'); });
Trying to do, but I get that blocks are created in all blocks
div.test, and it is clear, as the processor so configured. But the question is how to fix that content was added in the current block, where he was click on
Add?
Thank you very much for the help!