开发者

How can I use jQuery {{html}} tag inside {{each}} tag?

var visitMarkup = "<tr><td>{{each links}}{{html $value}}{{/each}}</td>\ </tr>";

I have an array of html links inside links variable. How can I decode the value usi开发者_JAVA百科ng {{html}} tag inside {{each}} tag?


Try

var visitMarkup = "{{each(linkIndex, link) links}}{{html link}}{{/each}}";
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜