title: How to open the phone dialer?
body: <p>I am trying to launch the phone dialer in my worklight 6.2 hybrid application when clicking on a button and/or an anchor tag. Below is the code I am using.</p>
  
  <p>button:</p>
  
  <pre><code>&lt;button onClick='window.parent.location.href = "tel:+1xxxx"'&gt;Tel&lt;/button&gt;
  </code></pre>
  
  <p>anchor tag:</p>
  
  <pre><code>&lt;a href='tel:+18001111111' class="ui-link"&gt;(800) 111-1111&lt;/a&gt;  
  </code></pre>
  
  <p>When we click on button/anchor tag below is the behavior in android and iOS.<br>
  In android:</p>
  
  <p>Displays a pop up window with the message </p>
  
  <blockquote>
    <p>Application Error net::ERR_UNKNOWN_URL_SCHEME (TEL:+18001111111)</p>
  </blockquote>
  
  <p>In iOS:</p>
  
  <p>The click event doesn't respond.</p>