jQuery Templates

程序名称:jQuery Templates

授权协议: 未知

操作系统: 未知

开发语言:

jQuery Templates 介绍

Similar to the macro-based templates in the popular javascript library Ext,
jQuery templates offer ways of creating html chunks and applying an object of
attributes to them via the jQuery DOM manipulation methods. Variable types
default to JSP-style, however they can be customized to other variable styles
for the plugin as well as for individual template objects. Via helper methods,
variable functions can be applied to variables within the templates as well.

Example:

`var t = $.template(‘

Hello ${name}, how are you ${question}? I
am ${me:substr(0,10)}
‘);

$(selector).append( t , {
name: ‘Stan’,
question: ‘feeling’,
me: ‘doing quite well myself, thank you very much!’
});`

jQuery Templates 官网

http://plugins.jquery.com/project/jquerytemplate

相关编程语言

多功能下拉选择插件 SelectPage 简洁而强大的下拉分...
AutoComplete 是一个 jQuery Mobile 的插件,用于实...
Combogrid 是一个jQuery插件用于为输入框添加高级自...
Autobox2这个jQuery插件,可以用于创建类似于Facebo...
Link Scraper TextBox 是一个文本框的扩展插件,当你...
Awesomplete 超小超好用的超漂亮的 autocomplete 框...