title: how to call this Jquery function on Button Click event?
body: <p>I wanna call this jquery function in ASP.NET on button click event </p>
  
  <pre><code>var doRedirect = function() { location.href='http://www.example.com' };
  $("#button1").click(function() {
      $("#label1").show();
      window.setTimeout("$('#label1').fadeOut('slow', doRedirect)", 10000);
  });
  </code></pre>