how to get the container

how to get the container

having this:

$('* p',$(frame).contents())...{

}

p is the container where the search will be done. $(this) is each content. How can I get the p?