View Full Version : stay on top script ajax error

08-30-2016, 04:42 PM
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.

08-30-2016, 06:02 PM
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.

08-30-2016, 06:23 PM
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.:)