Question: > 
> **Possible Duplicate:**  
> 
> [How do I create an element after the closing body tag](https://stackoverflow.com/questions/4792142/how-do-i-create-an-element-after-the-closing-body-tag) 
> 
> 
> 

Did a search, could not find this.

Is it possible to jQuery the closing `</body>` tag and then add some JS code just above?
IE: find:

```
$("</body>") 

```

Then add some JS script just above this tag?

Answer: 
Just use `.append()`.

```
$('body').append();

```
To append content to the body use the following.

```
$('body').append(htmltoappend);

```

> 
> Is it possible to jQuery the closing tag and then add some JS
>  code just above?
> 
> 
> 

Why would you want to insert *JS Code* above the closing body tag?