This question is locked. New answers and comments are not allowed.
I making a new app in which I want to split the whole thing to different .html files.
Now I might have an understanding problem.
index.html is the base and pretty much out of the template box :-)
test.html is another file
test.js has only an alert("test"); in it
now if I put the test.js in the <head> of test.html the alert will not show, but if I put the test.js in the <body> of test.html alert will trigger.
Its kind of like the <head> section of the test.html is not loaded.
I am of course switching from index.html to test.html#somediv
Does that make sense to anyone?
Markus
Now I might have an understanding problem.
index.html is the base and pretty much out of the template box :-)
test.html is another file
test.js has only an alert("test"); in it
now if I put the test.js in the <head> of test.html the alert will not show, but if I put the test.js in the <body> of test.html alert will trigger.
Its kind of like the <head> section of the test.html is not loaded.
I am of course switching from index.html to test.html#somediv
Does that make sense to anyone?
Markus