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

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -