I am getting the error : Build:Property 'document' does not exist on type 'HTMLElement' for following code
var cDoc = document.getElementById('content-frame').contentDocument;
Please help me out
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
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Aug 29, 2019, 5:26 AM EDT
Ravishankar NRank #241 · 10.2K reputationPosted Sep 3, 2019, 1:52 AM EDT