Here I am describing an example of JQuery template.

Here I have used two libraries, jquery-1.10.2.min.js and jquery.tmpl.min.js. You can download both the libraries from Download jQuery and jquery.tmpl.min.js
The actual template is included by SCRIPT tag with a special MimeType. Here the mimetype is unknown because when the browser encounters the SCRIPT tag with unknown mimetype, it ignores the contents of the tag.
$("#carTemplate").tmpl(Cars)
The above line selects the "carTemplate" and fills it with the Cars objects.
Now you can clearly understand the definition which has been given at the starting point of this article.
Join the conversation! Your thoughts help the community grow.