How do I select the next element that isn't of the same parent?

How do I select the next element that isn't of the same parent?

I have:
  1. <p>Click here</p>
  2. <div>cool content #1</div>
  3. <p>Click here</p>
  4. <div>cool content #2</div>
How if I click either <p> how do I select the <div> immediately following?
  1. $(p + div).dosomething()
isn't working.

Thoughts?