Reputation: 18103
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?
Upvotes: 1
Views: 103
Reputation: 100567
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.
Upvotes: 3