4
How to make a certain HTML before another div? I tried using prepend
but it puts at first into the div but I want it to put up/before and outside of it, using prepend
she gets like this:
<div class="pai"><div>FILHO</div></div>
but the right and necessary for me would be so:
<div>FILHO</div><div class="pai"></div>
is possible with which code?
And what is the initial HTML?
– Sergio
@Sergio the job would have to be done on top of the div
$(".pai")...
– Vinícius Lara