It's gonna be a little more complicated than that. You're gonna have to find out all the words and re-append them to your element, wrapped in a span.
var words = $("p").text().split(" ");
$("p").empty();
$.each(words, function(i, v) {
$("p").append($("").text(v));
});
Live example