0

Dear frends,why after linking js with html doen't work when both document seved at different folder? What can i do?

linking js with HTML document

18th Sep 2017, 8:01 PM
Eyoo Umusaza
Eyoo Umusaza - avatar
1 Odpowiedź
+ 5
Make sure that the relative path to the JS file is correct in the link. Also, where you link to the JS file may matter if it utilizes the DOM prior to the DOM being created/set and the code is not is some form of onload function. Without providing more information such as the code and file structure these are just "best guesses".
18th Sep 2017, 8:08 PM
ChaoticDawg
ChaoticDawg - avatar