title: How to get position of the clicked element
body: <p>I have a button, after user click a search form will be displayed over it.
  Form is placed at the bottom inside footer. </p>
  
  <p>I need to get button position (absolute, left, top).</p>
  
  <p>This is my <code>html</code> entry:</p>
  
  <pre><code>&lt;div&gt;&lt;button class="search-button" type="button"&gt;Search&lt;button&gt;&lt;/div&gt;
  </code></pre>