when i run this code on asp.net content page then it's not working and error message comes that "0x800a1391 - JavaScript runtime error: 'btn' is undefined" but when i run this code on html page then it's execute without any errors.
AddEventListener not working on content page.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.


Reshma BhalekarRank #1,355 · 1.2K reputationPosted Oct 8, 2018, 12:28 AM EDT