.find
looks inside of the element. In your case though you're creating a div
and a paragraph next to one another. Move the paragraph inside the div
and your code will work.
Or you can wrap both of those elements into a third, parent.
var string = "";
var dom = $(string);
console.log(dom.find("p"));