The original official jQuery Templates plugin. This project was maintained by the jQuery team as an official jQuery plugin. It is no longer in active development, and has been superseded by JsRender.
I have been checking out jQuery templates and they are pretty cool.
I am currently trying out nesting templates, and it almosts works -- I am see the expected generated results but also the jQuery code as well. I am generating a simple table with three different templates: table, row, and cell templates nested together.
Source view (using firebug) shows that the generated table is showing for each table row TR, the generated table cell TD is prefixed with jQuery template code
How I got it working thus far is that _JavaScript function templatetest() calls template addressEditTemplate which populates a table with templated rows using _getTemplateScript() .
There are two two templates _HelloATestTemplate & _HelloBTestTemplate that both use the templated table row RowTemplate, and each have a different nested templated to insert table cells _SimpleEntryTemplate and _TextBoxEntryTemplate.
Thanks for taking the time to submit this issue. Just wanted to let you know this plugin is no longer being actively developed or maintained by the jQuery team. See README for more info.
Hi
I have been checking out jQuery templates and they are pretty cool.
I am currently trying out nesting templates, and it almosts works -- I am see the expected generated results but also the jQuery code as well. I am generating a simple table with three different templates: table, row, and cell templates nested together.
Source view (using firebug) shows that the generated table is showing for each table row TR, the generated table cell TD is prefixed with jQuery template code
How I got it working thus far is that _JavaScript function templatetest() calls template addressEditTemplate which populates a table with templated rows using _getTemplateScript() .
There are two two templates _HelloATestTemplate & _HelloBTestTemplate that both use the templated table row RowTemplate, and each have a different nested templated to insert table cells _SimpleEntryTemplate and _TextBoxEntryTemplate.
What am I doing wrong to show the jQuery code as well as the correctly generated results ?
Thanks