Javascript validation for input limited text into textbox or textarea
On design page source::
----------------------------
On b/h code source page:
protected void Page_Load(object sender, EventArgs e)
{
txtLocation.Attributes.Add("onkeypress", "return LocationLength()");
txtLocation.Attributes.Add("onkeyup", "return LocationLength()");
}
Happy Coding..!!
Thursday, October 23, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment