vilhelm
05-27-2012, 07:57 PM
Hi!
Google Chrome acts strange when my javascript function should open this iframe.
It works perfect in Internet Expolorer, but when I open it in Google Chrome it alert "Cannot read property 'body' of undefined".
This is the code that works in Internet Explorer, but not in Google Chrome:
window.frames["nameOfFrame"].document.body.innerHTML
What is wrong, doesn´t Google Chrome support iframe from innerHTML?
I will be very happy if anyone of you can help me :)
/ Vilhelm
Google Chrome acts strange when my javascript function should open this iframe.
It works perfect in Internet Expolorer, but when I open it in Google Chrome it alert "Cannot read property 'body' of undefined".
This is the code that works in Internet Explorer, but not in Google Chrome:
window.frames["nameOfFrame"].document.body.innerHTML
What is wrong, doesn´t Google Chrome support iframe from innerHTML?
I will be very happy if anyone of you can help me :)
/ Vilhelm