title: Use jQuery to generate Thymeleaf
body: <p>I'm trying to generate a Thyemeleaf from Json response:</p>
  
  <pre><code> $.ajax({
      url: '/getJson',
      success: function(data) {
        $.each(data, function(i, obj) {
          var htmlTag = "&lt;span th:text='" + obj.name +
            "'&gt;&lt;/span&gt;";
          $("#result").append(htmlTag);
        });
      }
    });
  </code></pre>
  
  <p>But it doesn't render. Is it possible to generate html this way?</p>