Results 1 to 5 of 5

Thread: Javascript Error in MSIE: 'document.getElementByld[...]

  1. #1
    Join Date
    Jul 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Javascript Error in MSIE: 'document.getElementByld[...]

    Hi everyone,

    I'm implementing Dynamic Drive's 'Dynamic Ajax Content' code into a webpage. It works great on every browser except on MSIE 6.0.

    http://www.dynamicdrive.com/dynamici...jaxcontent.htm
    is the script I'm using.

    This is the page that is giving me an error:
    http://www.americanbabies.net/v3/news.html

    The error is:
    Error: 'document.getElementByld[...]' is null or not an object

    On most other browsers, the "news" content page automatically loads. On MSIE, it is blank beneath the menu and I receive this error.

    Any help will be very much appreciated!!

    Thanks,
    Adam

  2. #2
    Join Date
    Mar 2006
    Posts
    600
    Thanks
    5
    Thanked 4 Times in 4 Posts

  3. #3
    Join Date
    Jul 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I started this thread before realizing it belonged under the DD-related forum. I would have deleted it if there was an option, but wanted to make sure it was in the right place.

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    This:

    Code:
    <script type="text/javascript">
    ajaxpage('first.html', 'contentarea') 
    </script>
    needs to go after this:

    HTML Code:
    <div id="contentarea"></div>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Jul 2006
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Thumbs up

    jscheuer1,

    thank you for your response! this page now loads beautifully.

Bookmarks

Posting Permissions

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