Hey all

In this example, how come I can't prepend the paragraph to the div more than
once? 

$("#adder").click(function() 
{  
    $('#container').prepend($('#content')); 
});

# Add content 
<div id="container"></div>
<p id="content">content</p>
-- 
View this message in context: 
http://www.nabble.com/Dynamically-prepending-elements-to-a-div-tp15480643s27240p15480643.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to