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 %>");