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.
In the following image, the first two lines are jQuery template code, and the bottom two lines are the generated output of nested templates.
Source view (using firebug) of the previous image is as follows.
There are two two templates HelloA_TestTemplate (#6) & HelloB_TestTemplate (#7) that both use the templated table row RowTemplate (#5) , and each have a different nested templated to insert table cells Simple_EntryTemplate (#3) and TextBox_EntryTemplate (#4) .
What am I doing wrong to show the jQuery code as well as the correctly generated results ?
|Free forum by Nabble||Edit this page|