how to call Jquery or Javascript function or method call by c#












Jquery:


      <script type="text/javascript">
           setInterval("my_function();", 60000);
           function my_function() {
               $("#<%=Btnresendotp.ClientID %>").css("display", "block");
           }
       </script>



C#:-

   Page.ClientScript.RegisterStartupScript(this.GetType(), "CallMyFunction", "MyFunction()", true);



Post a Comment

0 Comments