在JQuery模板中调用处理程序 [英] Calling Handler in JQuery templating
本文介绍了在JQuery模板中调用处理程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要在Jquery模板中调用处理程序.我正在使用$(#templateid).tmpl(records);
我需要在渲染模板内的每个子元素时调用处理程序.我找不到到现在为止.我正在努力1个多星期.你能建议我吗?
否则,我应该用.tmpl()
代替?
Hi,
I need to call handler in Jquery templating. I am using $(#templateid).tmpl(records);
I need to call handler while rendering every sub element inside the template. I could not find upto now. I am striving for more than 1 week. Can you please suggest me??
Otherwise instead of .tmpl()
what shall I use?
推荐答案
(#templateid).tmpl(records);
我需要在渲染模板内的每个子元素时调用处理程序.我找不到到现在为止.我正在努力1个多星期.你能建议我吗?
否则,我将使用.tmpl()
代替.tmpl()
?
(#templateid).tmpl(records);
I need to call handler while rendering every sub element inside the template. I could not find upto now. I am striving for more than 1 week. Can you please suggest me??
Otherwise instead of.tmpl()
what shall I use?
这篇关于在JQuery模板中调用处理程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文