Hi all,
I have a bit of javascript on a page which contains an iFrame. In this iFrame there are different html elements. In IE 7, this javascript works fine:
var fra = document.frames('framain').document
fra.getElementById('img1').style.width='1500px'
I've tried what seems like dozens of different syntaxes to get this to work in Safari (3.1.1) and nothing works. Can anyone help with this?
Thanks,
--Jim
I have a bit of javascript on a page which contains an iFrame. In this iFrame there are different html elements. In IE 7, this javascript works fine:
var fra = document.frames('framain').document
fra.getElementById('img1').style.width='1500px'
I've tried what seems like dozens of different syntaxes to get this to work in Safari (3.1.1) and nothing works. Can anyone help with this?
Thanks,
--Jim