Forum: JavaScript / DHTML / AJAX Jan 16th, 2009 |
| Replies: 10 Views: 11,981 One way to do it is to wrap the HTML for your template in a <script> tag with a non-javascript "type", eg:
<script type='html/template' id='myTemplate'>
... your html code here...
</script>
... |