If you are trying to get the control id from the client side.Try using this with jquery: $("#'<%=txtUser.ClientID %>'");or $("[id$='_txtUser']");QED
I f you are creating a SharePoint app using JavaScript and the Client side object model you need this friendly object. In the development of an app, you would require some basic properties- SharePoint as a framework provides these with the _spPageContextInfo object. _ spPageContextInfo will provide these below properties: webServerRelativeUrl webAbsoluteUrl siteAbsoluteUrl serverRequestPath layoutsUrl webTitle webTemplate tenantAppVersion isAppWeb webLogoUrl webLanguage currentLanguage currentUICultureName currentCultureName env nid fid clientServerTimeDelta updateFormDigestPageLoaded siteClientTag crossDomainPhotosEnabled webUIVersion webPermMasks pagePersonalizationScope userId userLoginName systemUserKey alertsEnabled siteServerRelativeUrl allowSilverlightPrompt themedCssFolderUrl themedImageFileNames
Comments
Office Setup
www.office.com/setup
Office Com Setup
Printer Tech Support
www.norton.com/setup