我想在 jTemplate 变量中包含一些 html - 例如
<td class="numeric">{$T.total_price}</td>
总价格是:
"$12<span>.00</span>"
有什么办法可以让跨度显示为 html 吗?
最佳答案
我得到了它:
$('#mhid')setTemplate(s, [], {filter_data: false});
关于jquery - j模板 : html in variables,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1721603/