I'd like to include some html in a jTemplate variable - e.g.
<td class="numeric">{$T.total_price}</td>
Where total_price is:
"$12<span>.00</span>"
Is there any way I can get the span to show up as html?
I'd like to include some html in a jTemplate variable - e.g.
<td class="numeric">{$T.total_price}</td>
Where total_price is:
"$12<span>.00</span>"
Is there any way I can get the span to show up as html?
I got it with:
$('#mhid')setTemplate(s, [], {filter_data: false});
I am having the same problem:
Template:
<textarea id="pagination" style="display:none"><b>pagination</b></textarea>
If I call the template as:
$('').setTemplate($('pagination').html(),[],{filter_data: false});
$('').processTemplate();
Its not working. its displaying as:
<b>pagination</b>
If I call the same template by using setTemplateElement like:
$('').setTemplateElement('pagination');
$('').processTemplate();
Its working. its displaying as: pagination