I want to keep jquery.js in one place only instead of having the file in the root of every project.
I have a /scripts folder in the main workspace folder ( /WebstormProjects/scripts).
So I have a project here:
In my html file I do this:
When I debug this in Chrome with a simple little tutorial I found on youtube, the jquery lib is not invoked.
The only way I can get the jquery file to work is by putting jquery.js directly in the /WebstormProjects/myJqueryPrj folder.
I also tried adding /WebstormProjects/scripts as an additional content root, no luck.
I KNOW this has to be the most common thing in the world to keep from having copies of .js files strewn about in every project root folder. (right?)
Thanks in advance.
Here's the little demo:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<p>This is just some text for heading 1</p>
<p>This is just some text for heading 2</p>
<p>This is just some text for heading 3</p>