Solved

Javascript not seeing script file

Posted on 2011-03-01
2
154 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Rotate images for Web Page 11 25
Html date format 9 20
Duplicate Elements with JS / jQuery 3 24
HTML editor custom button 3 53
Today I would like to talk about localizing (Internationalization) JavaScript applications. Introduction When creating an application that is going to be used by many people around the globe, it is important to remember that not everyone speak…
JavaScript can be used in a browser to change parts of a webpage dynamically. It begins with the following pattern: If condition W is true, do thing X to target Y after event Z. Below are some tips and tricks to help you get started with JavaScript …
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…

740 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