I haven't a lot of experience with javascript, Jquery, and html yet. I have an htm page with query and javascript on it. It works the way I want it to, but when I try to pull the code into another file and reference it from there, I just get a blank page. I tried a few tests. I created a page called "Test.htm" which referenced "test.js" as a source. In test.'s I put
This worked fine. I then started pulling various pieces of my code into my test page to see what worked and what didn't. I find that putting my JQuery code on the page doesn't interfere, but putting all of my other references to javascript files does. If I put my reference at the top it works, but at the bottom it doesn't. It would seem there's some sort of precedence rules that I'm not aware of.
Can someone explain this to me, or point me to a place I can read up on it?
TIA
An unforeseen consequence of the information revolution has been the exponential propagation of human error.
Code:
alert("test");
alert("test2");
Can someone explain this to me, or point me to a place I can read up on it?
TIA
An unforeseen consequence of the information revolution has been the exponential propagation of human error.