title: Jquery-ui $("#button").click dont work at random times
body: <p>At random times the buttons with a score not work. I dont understand why? Is there is a problem with js code? Tried it in chrome and ie</p>
  
  <p><a href="http://live.tennisofficial.ru/dev/operator/mobile/chair2.php#live" rel="nofollow">http://live.tennisofficial.ru/dev/operator/mobile/chair2.php#live</a></p>
  
  <p>p.s. some php errors couz I manually turned off authorization.
  there are looks like a lot of code but there is just a lot of if's</p>
  
  <p><strong>added</strong>: strange, Im commented everything in pointOne,Two function except 
  <code>console.log("Point1 clicked");</code> </p>
  
  <p>and still dont work S:</p>
  
  <p><strong>added</strong>: removed everything... still have a problem</p>
  
  <p><strong>added</strong>: it works well with an <code>&lt;a&gt;</code>. So there is a problem with a buttton mechanics? I will change buttons for an <code>&lt;a&gt;</code> but still interesting why buttons didnt work? I hear smth about 300ms between button clicks, is it a problem?</p>
  
  <pre><code>&lt;script&gt;
  
  $(document).on("pagebeforeshow","#live",function(){ // When entering page live
  
    $("#pointOne").val("0");
    $("#pointTwo").val("0");
    $("#pointOne").button("refresh");
    $("#pointTwo").button("refresh");
    $point1 = 0;
    $point2 = 0;
    $sets1 = new Array (0, 0, 0, 0, 0, 0);
    $sets2 = new Array (0, 0, 0, 0, 0, 0);
    $score = new Array(0, 15, 30, 40, "Ad", "-", "Ad");
    $currentset = 1;
  
  
    //reload score
    $("#gamescore").text("0:0");
    $("#gamescore2").text("Sets: 0:0 0:0 0:0");
  });
  
  /*get id of match*/
  
  /*END OF get id of match*/
  
  
  $("#pointOne").on("click", function() {
      console.log("Point1 clicked");
  
  });
  
  $("#pointTwo").on("click", function() {
      console.log("Point2 clicked");
  
  });
  
  
  
  &lt;/script&gt;
  </code></pre>