title: How JavaScript load HTMP page with its own JavaScript file in different folder? Keep getting Error GET http://localhost:x/f.js 404 (Not Found) why?
body: <p>In my JavaScript file that has name SPA.js, I am loading HTML page called MenuEditor.html with following location: wwwroot /HtmlTemp/MenuEditor.html <a href="https://i.stack.imgur.com/kkQA2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kkQA2.jpg" alt="Problem description" /></a></p>
  <p>In MenuEditor.html I am trying to load JSmenuError.js that is in the same folder as the MenuEditor.html</p>
  <p>I drag and drop the JSmenuError.js into MenuEditor.html   </p>
  <p><a href="https://i.stack.imgur.com/R49Qf.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/R49Qf.jpg" alt="Error" /></a></p>
  <p>I got Error GET http://localhost:xxx/file.js 404 (Not Found) in the chrome inspector.</p>
  <p><a href="https://i.stack.imgur.com/fwyvY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fwyvY.jpg" alt="404 (Not Found)" /></a></p>
  <p>What is the issue with the path?</p>
  <p>Please note that the JSmenu.js file that in the same folder as my main SPA.js works OK when I drag it into the MenuEditor.html</p>