Solved

Javascript not seeing script file

Posted on 2011-03-01
2
160 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

The task A number given should be formatted for easy reading by separating digits into triads. Format must be made inline via JavaScript, i.e., frameworks / functions are not welcome. So let’s take a number like this “12345678.91¿ and format i…
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
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…
Suggested Courses
Course of the Month11 days, 13 hours left to enroll

623 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