WebIf you are using any user control and want to get any text box values then you can use the below code: var result = document.getElementById('LE_OtherCostsDetails_txtHomeOwnerInsurance').value; Here, LE_OtherCostsDetails, is the name of the user control and txtHomeOwnerInsurance is the Web. Personally I do not see why JavaScript needs to go down the route its going, it was never meant to be a program tightly bound and made more complex than it is already. Enjoy. Unlike a