Add html to the current place?
Hi everybody!
I have the following code:
- '<div class="Comment">' +
- $.each(post.Comments, function (i, comment) {
- document.write(comment.Description);
- }) + '</div>'
- );
The document.write() is not working ;-), it erase all the content of my page in fact. What I want is just write the HTML contained in 'comment.Description' for each iteration. (comment.Description contains a DIV with multiple elements in it!)
Thanks for help!
Bastien