Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Languages / Javascript

How to get the id/name of the ASP.NET server control as rendered on the browser in JQUERY/Javascript

3.00/5 (3 votes)
23 Jul 2010CPOL 27.6K  
How to get the id/name of the ASP.NET server control as rendered on the browser in JQUERY/Javascript
var id = '<%=rbnQualification.ClientID %>' is used to retrieve the id of the ASP.NET control with id=rbnQualification as rendered on the browser.

Var name = '<%=rbnQualification.UniqueID %>' is used to retrieve the name of the ASP.NET control with id=rbnQualification as rendered on the browser.

Here, rbnQualification the id of the ASP.NET webserver control.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)