Topic awaiting preservation: getElementById Issues (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: |
posted 12-12-2005 17:46
I'm haivng a problem with using getElementById.... |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Cardiff By The Sea, California |
posted 12-12-2005 17:53
It's hard to say without actual examples, but I've been burned repeatedly over the years in situations like this by built-in security features of most browsers. Basicalll, any time I try going up the tree, and then down into another iframe in order to call a javascript function, it has the potential to trigger errors. Rather than to find out exactly what is wrong here, have you considered simply putting *all* of the javascript in the top page? the iframes below should have no trouble refering to a top.function(), and the top.functions should have not trouble refering down to the contained iframes. I do this all the time now when dealing with iframes, it works, and it keeps things neater, too! |
Nervous Wreck (II) Inmate From: |
posted 12-12-2005 17:55
Nevermind me guys... it was some server side code causing the problem. |
Paranoid (IV) Inmate From: Norway |
posted 12-12-2005 18:02
Doc: Glad to see you in the halls. code: parent.frames['navFrameSetup'].document.getElementById("numberlayer").innerHTML statement crash. Ok you can't retrieve the innerHTML property, what about the getElementById("numberlayer") ? Still don't work ? go one step before, and so on. |
Nervous Wreck (II) Inmate From: |
posted 12-12-2005 18:26
lol, thanks for the tip... but it wasn't for nothinhg. |
Paranoid (IV) Inmate From: Norway |
posted 12-12-2005 19:08
In FireFox, it's in Tools > DOM Inspector, provided you've installed the web.dev tools when you installed FireFox. |
Bipolar (III) Inmate From: London |
posted 12-13-2005 11:40
Poi, |
Nervous Wreck (II) Inmate From: California |
posted 12-13-2005 16:35
There is also a killer suite of favelets/bookmarklets from Steve at Slayeroffice.com : |