Markup:
<div class="modal-body">
<p>One fine body…</p>
</div>
Why isn’t this help?
$(".modal-body").val = data_per_folder[current_folder.folder_id].data_per_page[current_page].attachment_extraDetails[attachmentId].attachments_markup;
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
.val()is a method not a property you use it like this:Also
.val()changes the attribute value. A div does not have this HTML attribute.You want to change the innerHTML. Use
.html()for that.