…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
Skill Level Intermediate
What is templating?5m 12s
2. jQuery Template
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.