function moveAround(){
$('p').append($('#div'));
}
Above code will move "div" after "p" element as a child. I don't want like that. I just want "div" append after "p" but still same level with "p". What shall I do? Thanks in advance!
function moveAround(){
$('p').append($('#div'));
}
Above code will move "div" after "p" element as a child. I don't want like that. I just want "div" append after "p" but still same level with "p". What shall I do? Thanks in advance!