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

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -