Results 1 to 3 of 3

Thread: stay on top script ajax error

  1. #1
    Join Date
    Apr 2013
    Posts
    21
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Question stay on top script ajax error

    I am receiving an ajax error when trying to use this script. The warning box I get is:
    Error fetching Ajax content.
    Server Response: undefined.

    The path to the external file is correct, and it worked previously until I added an iframe to the page as well. I am wondering why I am now getting and ajax content errors? I am hoping someone has a quick explanation for this. If necessary, I can just quit using it but would like to still have it available.

  2. #2
    Join Date
    Apr 2013
    Posts
    21
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Default

    After making sure my code matches the example, I am now getting a different error, Error: The value you have entered for "targetid" (browserwarning) doesn't match the ID of your remote content's DIV container (undefined). This must be corrected. The div id IS defined in both the local and remote files. So I don't understand this.

  3. #3
    Join Date
    Apr 2013
    Posts
    21
    Thanks
    6
    Thanked 0 Times in 0 Posts

    Exclamation Resolved Issue

    I was able to solve the issue by moving the content from a remote file, into a div in the main file, then defining the target to match the local div, but leaving the remotesource tag empty. Have to change this both in the <head> and in the .js file.

Similar Threads

  1. i think there is an error on dynamicdirve's ajax routine script
    By smansakra in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 12-18-2008, 09:24 AM
  2. Ajax Pagination Script : php code error
    By acctman in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 11-10-2008, 11:36 PM
  3. Ajax script error: POST method not allowed
    By b4greg in forum Dynamic Drive scripts help
    Replies: 5
    Last Post: 04-17-2008, 01:57 PM
  4. Ajax Include Script error
    By JakedGr8 in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 06-22-2007, 02:29 AM
  5. Advanced RSS Ticker (Ajax invocation) Script Error
    By jeter in forum Dynamic Drive scripts help
    Replies: 1
    Last Post: 01-17-2007, 07:05 AM

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
  •