Appending HTML to end of body using javascript
- by ming yeow
here is the deal.
i have several templates for faceboxes (lightbox) i need at different points of the application. these are stored in different partials and files.
i will initialize different javascript functions in accordance to which ones i need. The question is, what is the best way to append the external HTML page into my body using javascript?