if i have
<div id="wallCommentResponse<?php echo $displayWall["id"]; ?>">
test
</div>
And:
$('#wallCommentResponse' + wallID).prepend("lorem ipsum lorem ha!");
I want the prepended stuff come after the text inside it already and not before it..
How 开发者_开发技巧can i do this?
Use append()
instead.
Do you mean you want to Append
?
$("#wallCommentResponse45").append("<b>foo</b>");
If that's not what you were after, perhaps edit your question to include an expected output.
精彩评论