title: Why is my 'ontouchstart' event not being triggered on iPhone?
body: <p>This is my code:</p>
  
  <pre><code>&lt;div id="a" ontouchstart="touchstart(event);" style="width:100px ; height:100px;background:red;"&gt;&lt;/div&gt;
  &lt;script src="jquery-1.4.2.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script&gt;
      function touchstart(event){
              $('#a').css('width','1000px')
          }
  &lt;/script&gt;
  </code></pre>
  
  <p>What's wrong with my code?</p>
  
  <p>Thanks</p>
  
  <p><strong>updated:*</strong></p>
  
  <p>when i add this code, it can be  triggered:</p>
  
  <pre><code>$('#a')[0].addEventListener("touchstart", touchstart, false);
  </code></pre>
  
  <p>So, why is <code>ontouchstart="touchstart(event);"</code>  not being triggered?</p>