Problem with microsoft templating plugin
-
<
body> <script type="text/javascript"> var dataObject = { firstName:
"<b>John</b>"
};
-
jQuery(function () { // A template string var tmpl = '<li><a href="${url}">${this.data.firstName}</a></li>'; // Renders one LI, filled with data, then appends it into the UL
$.tmpl(tmpl, dataObject)
.appendTo(
"ul"); });
</
script> <ul> </ul> </
body>
The output is
I would like to convert it to John how would i do this?