SyntaxFix
Write A Post
Hire A Developer
Questions
In case you are appending to the DOM, make sure the content is compatible:
modal.find ('div.modal-body').append (content) // check content