•
•
•
•
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 373,519 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 3,783 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
Views: 1442 | Replies: 2
![]() |
•
•
Join Date: Apr 2006
Posts: 5
Reputation:
Rep Power: 0
Solved Threads: 0
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?
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?
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
advertising ajax architecture asp backup business centro crash daniweb database dell developer development enterprise firefox fix flash hidden files home how html internet javascript linux mail microsoft mmorpg msdn news novell office open qmail red hat rhel server site smtp software solve source sql ssvichosst streaming suse video virus vista web windows
- free php/mysql programming (Web Development Job Offers)
- Hidden files.. Server not even kissed (Viruses, Spyware and other Nasties)
- another newbie with alot of redhat and apache server Q'S (Linux Servers and Apache)
- Help with .js JAVASCRIPT file!!!!!?!!?!? (JavaScript / DHTML / AJAX)
- Javascript: Go To Line Number (JavaScript / DHTML / AJAX)
- Having accounts store files on server (Windows NT / 2000 / XP / 2003)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: need help to get document.getElementById to work
- Next Thread: Need Help Urgently



Linear Mode