Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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.

  • #2
    New to the CF scene
    Join Date
    Sep 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •