Hi friends
document.getElementById('<%=txtSalesRep.ClientID%>').value not working in popup
Document.getElementById not working in popup window
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Amit ChoudharyRank #145 · 15.8K reputationPosted Dec 27, 2012, 1:34 AM EST
Ajitender VijayRank #6,843 · 255 reputationPosted Dec 27, 2012, 1:48 AM EST
Sivaraman DhamodaranRank #40 · 34.5K reputationPosted Dec 27, 2012, 4:05 AM EST
<input id='BtnTest' style='z-index: 100; left: 8px; width: 102px; position: absolute;top:60px' type='button' value='button'/>
The button element can be accessed using that id BtnTest.
document.getElementById("BtnTest") will give you the instance of the button. Make sure the element you are accessing is given an id.
Amit ChoudharyRank #145 · 15.8K reputationPosted Dec 27, 2012, 5:55 AM EST