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
1 ответ
+ 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".