iPhone coords and onclick with JavaScript
<p>I have a couple of js queries.</p>

<p>Onclick isn't working on iPhones although its fine elsewhere.</p>

<p>JavaScript:</p>

<pre><code>document.onclick = function(){newTarg(speedS)};
</code></pre>

<p>Any ideas on way round this, thinking maybe onchange but not sure how best to implement?</p>

<p>Also I am trying to get coordinates of the touch please help, so far code below.</p>

<p>JavaScript :</p>

<pre><code>event = window.event;   
xTarg = event.clientX;
yTarg = event.clientY;
</code></pre>
