Sunday, April 1, 2012

jQuery Templates Binding Expressions

Example:     <li><b>${Name}</b> (${ReleaseYear}) ${addCommas(GrossProfit)}</li>
http://api.jquery.com/tmpl/ 

Uses the $.tmpl method as a utility function of the jQuery function.

Templates can be defined in script elements or passed to the tmpl method.

Features one-binding only.

No comments:

Post a Comment