Jquery append content to div -


i load content <div id="wrapper"></div> via jquery.

$('#wrapper').html(data); 

when content inserted wrapper, there div id="video1".

how can append id="video1"

$('#video1').append('<p>test</p>'); 

for demo, have appended p here.


Comments

Popular posts from this blog

Winapi c++: DialogBox hangs when breaking a loop -

vb.net - Font adding using PDFsharp -

javascript - jQuery iScroll clickable list elements while retaining scroll? -