I want to add text to an existing div, when I click the Button with the id #add. But this is not working.
Here my code:
$(function () { $('#Add').click(function () { $('Text').appendTo('#Content'); }); });
Text
Add