Linking to jquery-1.7.1.js
Hello Everyone:
I've been using jQuery for about 3-4 months now and like it a lot.
This past week I registered a second domain on my hosting account. My hosting provider allows me to develop the new domain within my current hosting structure. So now my file structure looks like the following:
/public_html as root for main domain name
/public_html/jquery as folder for all my jquery files, including jquery-1.7.1.js
/public_html/mynewdomain as the ROOT folder for mynewdomain.com
Obviously I've no desire to maintain two sets of jquery files, if it is at all possible to set links from the /public_html/mynewdomain files to /public_html/jquery files. But... for the life of me I can not figure out what syntax to use when linking to jQuery files stored ABOVE the root drive. Following is my current attempt:
<script src="http://www.myMainDomainName.com/jquery/jquery-1.7.1.js"></script>
I've tried this syntax as well:
<script src="/home/userName/public_html//jquery/jquery-1.7.1.js"></script>
Neither works.
How do I link to a jQuery file stored above the domain's root folder?
Thanks Much:
Pavilion