Raj Joddar

Raj Joddar

  • NA
  • 3
  • 1k

I am getting the error : Property 'document' does not exist

Aug 29 2019 8:53 AM
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 

Answers (2)