title: How to use Button's OnClientClick property to run some multiple JavaScript functions in ASP.NET?
body: <p>How to run multiple JavaScript functions in ASP.NET to insert a desired text in a TextBox, Set the TextBox back color and font color and also disable or lock the Button for 5 second? I tried below code but I need client side code:</p>
  
  <p>VB.NET code:</p>
  
  <pre><code>Protected Sub btnClickTest_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnClickTest.Click
      txtTest.BackColor = Drawing.Color.Yellow
      txtTest.ForeColor = Drawing.Color.Red
      txtTest.Text = "You Clicked the Button!"
      btnClickTest.Enabled = False
      System.Threading.Thread.Sleep(5000)
      btnClickTest.Enabled = True
  End Sub
  </code></pre>
  
  <p>html:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head runat="server"&gt;
  &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form id="form1" runat="server"&gt; 
  &lt;div&gt;
      &lt;asp:Button ID="btnClickTest" 
          runat="server" 
          Text="Click Me" /&gt;        
  &lt;br /&gt;  &lt;br /&gt;
  &lt;/div&gt;  
  &lt;asp:TextBox ID="txtTest" 
      runat="server"&gt;&lt;/asp:TextBox&gt;  
  &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>