SyntaxFix
Write A Post
Hire A Developer
Questions
Try this...
$('p').append('<span id="add_here">new-dynamic-text</span>');
OR if there is an existing span, do this.
$('p').children('span').text('new-dynamic-text');
DEMO