Interviews1 answer
If you need to reference an ASP.NET control in a client side JavaScript function, what is the best way to do so?
1 Answer
Fetch the control based on ClientID property of asp.net control and use it for accessing the control details or modify the same in javascript(client side)
Ex:
var userNameControl= $find("<% =userNametxb.ClientID %>");
Surendra BadireddyPosted Aug 6, 2020, 7:57 AM EDT
