For my textbox, the following id generated on my local.
ctl00_ContentPlaceHolder1_ucLogin1_txtUserName
When I hosted on IIS, the following id got generated.
ContentPlaceHolder1_ucLogin1_txtUserName
How can I get the textbox id? Don't reply answer as use ClientID
, cos now I'm using external javascript file. It wont support ClientID
.