title: How to trigger server side button's click event after javascript confirm dialog returns true
body: <p>I have an input as count named in a repeater with hdncount hidden input. And I have a server side button out of repeater. This script runs onblur event of count. I want to trigger server side button's click event if client click OK button on confirmation. What should I do to do that?</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  
          function changeItemCount(input) {
              var hdnCount = $(input).closest("div").find("input[id=hdnCount]").val();
              var crrCount = $(input).closest("div").find("input[id=count]").val();
  
              if (hdnCount != crrCount) {
                  var answer = confirm("Ürün adedi değiştirilecektir. Onaylıyor musunuz?");
                  return answer;
              } else {
                  return true;
              }
          }
      &lt;/script&gt;
  </code></pre>