Open GoogleCodeExporter opened 8 years ago
You can easily write this. Have a look at http://embeddedjs.com to see how it
does that.
Original comment by sarat.pe...@gtempaccount.com
on 5 Dec 2008 at 6:25
If <textarea> is giving you a problem, try using a script tag. If you set the
type
attribute to something the browser doesn't recognize it won't look at the
content.
<script type="text/trimpath-template" id="myTemplate">
template here...
</script>
Of course, now you have a problem if the template contains <script> tags. If
you want
to avoid all such problems then use some Ajax library to download the template
and
pass it TrimPath.parseTemplate().
Original comment by breischl@gmail.com
on 5 Dec 2008 at 9:28
ok, thx a lot
Original comment by mennanov@gmail.com
on 7 Dec 2008 at 11:20
Original issue reported on code.google.com by
mennanov@gmail.com
on 14 Nov 2008 at 8:36