JavaScript file works on all but one web page

Problems with the Windows version of XAMPP, questions, comments, and anything related.

JavaScript file works on all but one web page

Postby HubriSonics » 03. June 2018 00:57

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.
HubriSonics
 
Posts: 3
Joined: 11. January 2017 20:45
XAMPP version: 5.6.28
Operating System: 64 bit Windows 10

Re: JavaScript file works on all but one web page

Postby Altrea » 03. June 2018 01:53

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.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 121 guests