Solved

Javascript not seeing script file

Posted on 2011-03-01
2
152 Views
Last Modified: 2012-06-27
All:
In a web page I am referencing a file called "scripts/ttb.js" which I have placed in the scripts folder in the home directory. For some reason the web is not "seeing" the ttb.js file as it will not run when the page loads. Also I am using MS Visual Web Developer and it underlines the "scripts/ttb.js" with an error that states the file can't be found. Can anyone help?
0
Comment
Question by:leeskelton83
2 Comments
 
LVL 40

Accepted Solution

by:
gurvinder372 earned 250 total points
ID: 35010714
all you need to be carefull is from where you are accessing it. try
/scripts/ttb.js
0
 
LVL 3

Author Comment

by:leeskelton83
ID: 35010799
Pretty sure I did that but I will check it and get back to you. It may be a few hours. Thanks.....
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I've been trying to accomplish this for a while and it just struck me yesterday how to accomplish this task. I have done searches all over the internet looking for ways to email pages from my applications and finally I have done it!!! Every single s…
This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question