Copy this code and paste it in your HTML
private void button3_Click(object sender, System.EventArgs e)
{
ThreadStart ts
= new ThreadStart
(HelloFromThread
); Thread t
= new Thread
(ts
); t.Start();
}
private void HelloFromThread()
{
button3.Text = "Hello From Thread";
}