title: How to get event target's parent with jQuery?
body: <p>I use jQuery's event object to get the target's parent. The code is:</p>
  
  <pre><code>event.target.parentElement
  </code></pre>
  
  <p>In Chrome it works, but in Firefox, it doesn't. I use <code>alert()</code> to print the output.</p>
  
  <p><code>event.target</code> is an URL in both Chrome and Firefox; but <code>event.target.parentElement</code> in Chrome is [Element object], and in Firefox it is <code>null</code>. </p>
  
  <p>What should I do to solve this problem? I still wonder if IE will have this problem?</p>
  
  <p>Thanks.</p>