Click here to Skip to main content
16,018,419 members
Articles / Programming Languages / Javascript
Tip/Trick

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

Rate me:
Please Sign up or sign in to vote.
3.00/5 (3 votes)
23 Jul 2010CPOL 27.6K   2  
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)


Written By
Software Developer
India India
I am a Software Developer in Dotnet technologies. I also provide online training in dotnet technologies.

Comments and Discussions

 
-- There are no messages in this forum --