Client ID
-
hi guys i have a problem using java script in one of my pages i have a text box in a page , and i wana write some scripts for that , but i can`t get the ID ! :) How i can get the ID on client computer ? tnx :cool:
-
hi guys i have a problem using java script in one of my pages i have a text box in a page , and i wana write some scripts for that , but i can`t get the ID ! :) How i can get the ID on client computer ? tnx :cool:
If it is a server side textbox get
var x = document.getElementById('<%= this.mytextbox.ClientId %>');
:cool: If it is not, then call directly with its id. The id of client side only controls will remain same.
Abhishek Sur My Latest Articles Working with Excel using MDAC
Basics on LINQ and Lambda Expressions
Create .NET Templates