+ 1
use dom with iframe content
When I use dom to the iframe content, it shows a error : getElementById() is not a function. The javascript I used like this: var frame = document.getElementById("show") frame.documentWindow.documebt.getElementById("a")
2 Answers
+ 7
You wrote documebt.getElementById
0
there is a iframe with id "show"