title: keyboard hide and execute link
body: <p>I have a link in html code for which there is onclick event.</p>
  
  <pre><code>&lt;a href="#" onclick="hidePopup();"&gt;Click&lt;/a&gt;
  </code></pre>
  
  <p>After filling the text when I click the Click-link the keyboard hides but onclick event does not call, then I need to click the click-link again to execute its event. How to hide keyboard and execute code on single click?</p>
  
  <p>Note: the link is in iframe.</p>