title: How do I get the current iframe location from within the iframe?
body: <p>I've seen solutions like</p>
  
  <pre><code>top.document.getElementById('iframe_a').src
  </code></pre>
  
  <p>But the problem is, that I don't know the Iframes ID. My Application is running as a Gmail-Gadget and therefore I don't know which ID Google will generate.</p>
  
  <p>So how can I get the URL of my gadget?</p>
  
  <p>Using JQuery will also be fine.</p>