title: IOS UIWebView: How to add listeners to DOM events?
body: <p>How can I add listeners to DOM events in UIWebView? For example for the following html:</p>
  
  <pre><code>&lt;button type="button" id="button1"&gt;Try it&lt;/button&gt;
  </code></pre>
  
  <p>Is it possible to register a listener for a button click event in IOS application that loads html in UIWebView?</p>