Javascript not filling from neighborhood drive

I'm forgeting the noticeable ...Modifying an index web page on neighborhood disk drive prior to posting it to server. And also the javascript is not filling. This does not function :


But, when web page is posted and also offered from Apache after that the javascript functions :

Site directory sites equal both in your area and also on remote server. I have actually attempted this with Safari 5.0.5 & Firefox 4.0.

code passages, though I do not think it is a code concern :

<!DOCTYPE html>
<html lang="en">
<!--<html xmlns="" xml:lang="en" lang="en">-->
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" type="text/css" media="screen" href="css/main.css" />
    <!--[if lt IE 9]>
    <script src=""></script>
    <script type="text/javascript"
    <script type="text/javascript" src="galleria/galleria-1.2.3.min.js"></script>

<header class="group">
    <div id="header-inner">
        <nav class="group">
<hr />
<script type="text/javascript">
    if (Galleria) { $("body").text('Galleria works') }
2019-12-02 03:08:26
Source Share
Answers: 1

You require to define the complete course consisting of the drive. The file: component is unneeded.

C :/ Users/meltemi/Sites/ mysite/javascriptfile. js

or *nix :

/ Users/meltemi/Sites/ mysite/javascriptfile. js

Ideally you'll create in an internet setting and afterwards can make use of a course loved one the webroot which will certainly coincide no matter whether the website is neighborhood or on the real-time web server :

/ javascripts/javascriptfile. js

2019-12-03 04:54:23