且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在JQuery模板中调用处理程序

更新时间:2023-11-20 23:40:40

(#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?