Perhaps this may be useful for you:
I make internal ajax calls, which can be a container that starts wrapping in one go, and another in some cases. I resolve this with this:
Find the container container with the request with this selector instead of "#yourWrapper":
JQuery ("DIV [ID = 'yourWrapper_1']"). Length
Try expanding it because you do not have to have a duplicate identifier on your DOM
http://api.jquery.com/unwrap/
Hope this helps you
Hello!
Alberto soto
source share