Tutorial: HTML Templates with Mustache.js | Christophe Coenraets
Sample 2: Basic Template using Ajax data Same as sample 1, except that we get the data from an Ajax service call. $.getJSON('json/data.json', function(data) { var template = "{{firstName}} {{lastName}}Blog: {{blogURL}}"; var html = Mustache.to_html ......