jQuery Templates: Two ways to define a template


/ Published in: jQuery
Save to your folder(s)

**Important: this snipplet has moved to Github.**

- [Method 1: Static template via a SCRIPT tag, using Jquery Templates](https://gist.github.com/1972787)

- [Method 2: Dynamic template from an arbitrary string, using Jquery Templates](https://gist.github.com/1972811)


----

Both methods work even without the *plus* extension of the [Templates plugin](http://github.com/nje/jquery-tmpl)

URL: http://www.wildpeaks.com

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.