title: Phonegap jQuery onClick handler
body: <p>I am trying to open links with the default ios system browser instead of the inappbroswer plugin. The following code does not open with the system browser: </p>
  
  <pre><code>function openlink(x){
  window.open(x.href, "_system");
  return false;
  }
  
  &lt;h1&gt;&lt;a href="http://google.com" class="exLink"&gt;google&lt;/a&gt;&lt;/h1&gt;
  &lt;h1&gt;&lt;a href="http://yahoo.com" class="exLink"&gt;yahoo&lt;/a&gt;&lt;/h1&gt;
  
  $("html").click(function(){
  $(".exLink").attr("onclick", "javascript:return openlink(this)");
  });
  </code></pre>
  
  <p>This code does open with the system browser but it's not what I need.</p>
  
  <pre><code>&lt;h1&gt;&lt;a href="http://google.com" onClick='javascript:return openlink(this)'&gt;google&lt;/a&gt;&lt;/h1&gt;
  </code></pre>
  
  <p>What's the best way to get the onclick attr() to work?</p>