…Let's use jQuery template to build and run our first template.…So, to define a jQuery template there's a few things you need to do.…First, you're going to create a script tag, but what…you're going to do is give it a type of text/html.…And this is a neat little trick.…What this does is it gives you a container…that you can use to hold your template that you…can retrieve using the DOM in the browser, but…because the script tag has a type of text html.…
And then inside that div, I've got three other divs.…And the way that you indicate to jQuery Template where…
- What is templating?
- Defining templates in jQuery Template
- Using simple Mustache templates with sections and conditions
- Adding conditionals and loops to Handlebars templates
- Working with Dust templates