title: Ajax not working in mobile devices
body: <p>I'm working on ajax functionality to count clicks on a button</p>
  
  <p>My ajax code is </p>
  
  <pre><code>&lt;script type="text/javascript"&gt; 
        function call_user(user_id){ 
        jQuery.ajax({
         type: 'POST',
     data: 'user_id='+user_id,
      url : '&lt;?php echo $this-&gt;basePath(); ?&gt;/ajax/call.php',
  
    });
        }
  &lt;/script&gt;
  </code></pre>
  
  <p>HTML code </p>
  
  <pre><code>&lt;a href='tel:&lt;?php echo $row['contact']; ?&gt;' onclick='call_user(&lt;?php echo $row['user_id'];?&gt;);'  title='Call'&gt;Call Now&lt;/a&gt;
  </code></pre>
  
  <p>Its a <code>call now</code> button and onclicking it i'm calling call_user() javascript function.</p>
  
  <p>The logic for counting clicks and db queries are written in <code>call.php</code> file</p>
  
  <p>Its working fine in desktop/laptop version. But counter is not incrementing in mobile devices (iphone/android). I guess ajax is not getting called in mobile devices. </p>
  
  <p>What could be the problem. Please help.</p>