I\'m using .after() method to inject some html code, I\'m doing it inside a loop, everything was working fine. Then I added a div parent to some divs a
.after()
div