Hey guys,
I'm trying to create some sort of validation mechanism for our website which checks whether required resources are loaded, etc.
We're using a Tagmanager as central distribution system for loading various Javascripts. Basically we're including a call to a script (x.js) call which then is being evaluated and decides which other JS script files to load and execute.
simplified it looks like this
<html>
<body>
<script src="x.js">
</body>
</html>
<html>
<body>
<script src="x.js">
<!-- x.js get evaluated on document ready and dynamicall loads x1.js, ... -->
<script src="x.1.js">
<script src="x.2.js">
<script src="x.3.js">
</body>
</html>
Problem is that the x.js does not seem to get executed and hence none of the succeeding x.1.js, x.2.js, ... files get requested.
Any ideas on this? Am I missing a config setting?
Cheers,
Ben