Monday, August 9, 2010

Attaching javascript to a TextBox in ASP.NET

TextBox2.Attributes.Add("onclick","alert('hello')");

No comments:

Post a Comment