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 & lt; / Body & gt;

You can use it before:

  $ ('Body'). Append ('& lt; div & gt; footer & lt; / div & gt;');  

But also:

  $ ('
Footer & lt; / div & gt;'). Annex ('body'); Html ($ ('body'). Html () + '
Footer ;);

Reference here with difference:


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -