Results 1 to 3 of 3

Thread: Object Expected

  1. #1
    Join Date
    Aug 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Object Expected

    Ajax Includes Script

    http://www.dynamicdrive.com/dynamici...axincludes.htm

    I'm running into this frustrating "Object Expected" problem in IE?
    the code does seem rather simple and I'm calling this event twice in my page, with 2 different filenames obviously,
    "<script type="text/javascript">
    ajaxinclude("afile.htm")
    </script>"
    Theres no other major script on the page. works fine in FF. In IE, only one event works, the minute i call the event the 2nd time on the page, i get the 'Object Expected' error and its driving me nuts!
    Is there any solution to this?? please someone, help!

  2. #2
    Join Date
    Aug 2004
    Posts
    9,889
    Thanks
    3
    Thanked 964 Times in 953 Posts
    Blog Entries
    15

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.

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

    Default

    I Found the problem!
    the scoundrel was an "onLoad" function that was in the body tag of the page was calling . Thanks for you help!

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
  •