Page 1 of 1

JavaScript file works on all but one web page

PostPosted: 03. June 2018 00:57
by HubriSonics
I have a JavaScript file that is used by all the pages on my website. This code executes correctly on all but one of my pages.

I have used Firefox to view the source code for the problem page. When I clicked on the link to the file that was not executing on this page, the desired JavaScript file was displayed. I added a JavaScript alert to the problem page, and this internal alert executes correctly. However, the alert in the JavaScript file does not execute on the problem page.

If this configuration of the problem page was working correctly, the problem page would display 2 alerts.

Here is the URL of the problem page.
https://hubrisonics.com/legal

Here is the URL of my home page:
https://hubrisonics.com

I will be grateful for help with this issue.

Re: JavaScript file works on all but one web page

PostPosted: 03. June 2018 01:53
by Altrea
JavaScript is executed completely in the clients browser.
The webservers only task with javascripts is, to send them to the client by request.

That is not an XAMPP/Apache issue.