MeltingDog
05-24-2012, 02:05 AM
Hi all,
I am trying to find a way to include a .html file in my client side only site (say for example: header.html).
Normally I would do this using PHP's include() function.
Is the best way to do this in JavaScript to create a .js file and have the html in a string and use <script> to bring it in?
Thanks!
I am trying to find a way to include a .html file in my client side only site (say for example: header.html).
Normally I would do this using PHP's include() function.
Is the best way to do this in JavaScript to create a .js file and have the html in a string and use <script> to bring it in?
Thanks!