Answers for "include iframe deinied html element"

1

iframe innerthtml

//Make sure to select 'top' from JS context dropdown menu in chrome devtools console

document.querySelector('iframe class/id').contentWindow.document.querySelector('body').innerHTML
Posted by: Guest on October-14-2021
4

iframe in html

<iframe src="yourURL" height="200" width="300"></iframe>
Posted by: Guest on June-01-2020

Browse Popular Code Answers by Language