Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 09-05-2008, 07:16 PM   PM User | #1
gtfMasterJohn
New to the CF scene

 
Join Date: Sep 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
gtfMasterJohn is an unknown quantity at this point
How can i work around the document.getElementById method

How can i work around the document.getElementById method when i can't access an object "div" inside a framset on IE 6.

My code works on firefox,Internet explorer 6 and 7 when is on one page, but when i put the same thing inside a frame, Internet Explorer 6 falls, and getElementByID doesn't work properly, in fact return null, while works great in Mozilla , i was able to fix that thing in IE 7 because i put the div name plus the id. But still doesn't work on IE 6.

More over, i have tried document.all['div's name'], namedItem getElementsByTag, etc. And all return null to me.
gtfMasterJohn is offline   Reply With Quote
Old 09-05-2008, 07:27 PM   PM User | #2
gtfMasterJohn
New to the CF scene

 
Join Date: Sep 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
gtfMasterJohn is an unknown quantity at this point
when i see my code, in source view of the frame i can see my div on IE 6, i have tried to rewrite the div, before to do any thing else, but still i can't access the object. Do you have any ideas?
gtfMasterJohn is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:10 AM.


Advertisement
Log in to turn off these ads.