Home › Forums › JavaScript › Learning basic › Re: Learning basic
April 1, 2013 at 5:25 am
#130310
CrocoDillon
Participant
Not sure if I understand the question but you can add elements with JS, for example:
$(‘body’).append(‘
‘);
or
$(‘body’).append($(‘
‘).addClass(‘container’));
See http://api.jquery.com/category/manipulation/ for more jQuery DOM manipulation functions.