jQuery: how do I add a div to the end of my HTML file? -
I saw in the documentation .append allows you to add elements to an element but I You can use it before: But also: Reference here with difference: & lt; / Body & gt;
$ ('Body'). Append ('& lt; div & gt; footer & lt; / div & gt;');
$ ('
Footer & lt; / div & gt;'). Annex ('body'); Html ($ ('body'). Html () + '
Footer ;);
Comments
Post a Comment