$('#selector').text('Your text here');
$("button").click(function(){ $("p").html("Hello <b>world</b>!"); });