7. TemplatingΒΆ

Client side templating capabilities are based on jQuery Tmpl

Templates are HTML fragments. You must not provide a full HTML file, with a <html>, <header> or <body> tag. All you need is to provide a single root element (a div for example):

<div>
        <table>...</table>
        <form>...</form>
        ...
</div>

jQuery tmpl is builtin with RESThub JS, for more features and syntax documentation see Jquery Tmpl web site

Related Topics

This Page