Record this in the group for future reference.
ASP. NET Ajax 4.0 provides the client data binding function. I believe you have heard of it. If you are interested, see using ASP. NET Ajax templates.
We recommend two jquery template plug-ins:
Chain. js
Hackszine.com: chain. js-data binding for jquery
Http://www.hackszine.com/blog/archive/2008/08/chainjs_data_binding_for_jquer.html
Data Binding solution for jquery
Chain. js-Data Binding service for jquery
Interaction. js-drag/drop/sort support for chain. js
Chain. JS is good, and the template can be very clean. It also supports drag, sort, event binding, and so on...
Demos: demosChain. js; DemosInteraction. js;
Result After clicking execute:
There is also one:
Jtemplates-Template engine in Javascript
Http://jtemplates.tpython.com/
This is a bit attention and requires additional tags in the template! For example:
{# TemplateMain}
<Div ID= "Header"> {$ T. Name} </Div>
<Table>
{# Foreach $ T. TableAsR}
{# IncludeRowRoot=$ T. R}
{#/}
</Table>
{#/TemplateMain}
{# TemplateRow}
<Tr Bgcolor="{# Cycle Values=['# Aaaaee', '# ccccff']}">
<TD> {$ T. Name. Bold()} </TD>
<TD> {$ T. Age} </TD>
<TD> {$ T. Mail. Link('Mailto: '+$ T. Mail)} </TD>
</Tr>
{#/TemplateRow}
Of course, looking at these tags, you can know that this may be stronger in template processing .... there are several other plug-ins for data binding on jquery clients of the same type, with relatively poor functions ....