Appending HTML to end of body using javascript

Posted by ming yeow on Stack Overflow See other posts from Stack Overflow or by ming yeow
Published on 2010-03-21T21:08:35Z Indexed on 2010/03/21 21:11 UTC
Read the original article Hit count: 416

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery