title: JavaScript click events not working on Samsung Galaxy SIII on Android 4.0.4 default browser
body: <p>I have the strangest issue with the default browser of the Samsung Galaxy SIII on Android 4.0.4:</p>
  
  <p>With the following page, clicking on the links will not trigger the JavaScript handlers. Removing a single 'a' letter from the content one of the divs makes them work again...</p>
  
  <p>Here is a screenshot of the JS console:</p>
  
  <p><img src="https://i.stack.imgur.com/bqGFv.png" alt="enter image description here"></p>
  
  <p>I opened an <a href="http://code.google.com/p/android/issues/detail?id=35078" rel="nofollow noreferrer">android bug report</a>, if you have the same issue please star it, thanks.</p>
  
  <p>Thank you in advance for your help!</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      $(document).ready(function() {
          alert('attaching click handlers');
          $("#red").click(function(e) {
              alert('red clicked');
              $("body").css("background-color", "#CC0000");
          });
          $("#green").click(function(e) {
              alert('green clicked');
              $("body").css("background-color", "#00CC00");
          });
          $("#blue").click(function(e) {
              alert('blue clicked');
              $("body").css("background-color", "#0000CC");
          });
      });
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;div&gt;
          &lt;p&gt;
              &lt;a id="red" href="#"&gt;CHANGE TO RED&lt;/a&gt;
          &lt;/p&gt;
          &lt;p&gt;
              &lt;a id="green" href="#"&gt;CHANGE TO GREEN&lt;/a&gt;
          &lt;/p&gt;
          &lt;p&gt;
              &lt;a id="blue" href="#"&gt;CHANGE TO BLUE&lt;/a&gt;
          &lt;/p&gt;
      &lt;/div&gt;
      &lt;p&gt;Removing one of the a's in the content below will make the JS
          click events work (i.e. trigger background color change), and
          so will changing the 'page' class or id into something else&lt;/p&gt;
      &lt;div class="page" id="page"&gt;
          &lt;div&gt;aaaaaaaaaaaaaaaaaaa&lt;/div&gt;
          &lt;ul&gt;
              &lt;li&gt;
                  &lt;div&gt;aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa&lt;/div&gt;
              &lt;/li&gt;
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>