Finding control using JS
ASP.NET
4
Posts
3
Posters
0
Views
1
Watching
-
Hi all, Im using a wizard control.I want to find the contorl in Java script. Can any one help me please.
document.getElementById('<%= YourControlId.ClientID %>');
var question = (_2b || !(_2b));
-
Hi all, Im using a wizard control.I want to find the contorl in Java script. Can any one help me please.
-
Hi all, Im using a wizard control.I want to find the contorl in Java script. Can any one help me please.
unction ValidateUserName(oSrc, args)
{var strUserName = document.getElementById('<%= CType(CreateUserWizardStep1.ContentTemplateContainer.FindControl("UserName"), TextBox ).ClientID %>'); alert("User Name is - " + strUserName.Value); args.IsValid = false; }
If It Helps Click It as Answer