how to add markup to Div dynamically via jquery?
<pre><code>Markup:
   &lt;div class="modal-body"&gt;
      &lt;p&gt;One fine body…&lt;/p&gt;
   &lt;/div&gt;
</code></pre>

<p>Why isn't this help?</p>

<pre><code>$(".modal-body").val = data_per_folder[current_folder.folder_id].data_per_page[current_page].attachment_extraDetails[attachmentId].attachments_markup;
</code></pre>
