User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 391,997 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 4,205 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting

Location of Javascript files on server

Join Date: Apr 2006
Posts: 5
Reputation: AdamW is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
AdamW AdamW is offline Offline
Newbie Poster

Location of Javascript files on server

  #1  
Apr 13th, 2006
I have a Javascript that I want to access from several different web pages.

I want to locate the .js file in the web root (httpdocs) folder and access it from different webpages in sub folders. I've tried setting the src attribute to the URL of the web root but without sucess.

Is it possible to do this and if so how please?
AddThis Social Bookmark Button
Reply With Quote  
All times are GMT -4. The time now is 10:04 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC