Am working on a project where i query data from fusion table with ajax. my code is working on all desktop web browsers but does not load data on mobile web browsers. This project is meant for mobile users. Please help.
Here is my code.
<title>IEBC | Registered Voters</title>
<link href="style/mobile.css" type="text/css" rel="stylesheet"/>
var addEvent = 'addEventListener',
type = 'gesturestart',
qsa = 'querySelectorAll',
scales = [1, 1],
meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : ;
var val = $(this).children("option:selected").val()
var txt = $(this).children("option:selected").text()
getTotals('http://vote.iebc.or.ke/ward/?constituency='+txt, "Ward", txt);
First things first, and I hate when I have to say this but please use one of the code tags when pasting source code on the forums.
Now, could you please elaborate on what issues you are having with mobile? Which mobile devices have you tested and which of those do not work? I have just successfully run this code on mobile safari (iPhone) with no issues. So this brings me to ask if it is only certain mobile devices (or browsers) with the issue and if so, which ones?
"Given billions of tries, could a spilled bottle of ink ever fall into the words of Shakespeare?"