19
rated 0 times
[
26]
[
7]
/ answers: 1 / hits: 90878
/ 13 Years ago, thu, june 23, 2011, 12:00:00
I am struggling to find a clean solution to my problem and was wondering if anyone could offer some tips.
I have templates.html which contains a collection of HTML snippets which I want to load into JavaScript and use. What is a good way to access the templates/snippets bearing in mind that templates.html is not a loaded DOM document?
I was thinking about using document.open
to create a DOM to access but I think this has issues on certain browsers.
More From » html