![]() |
| ||
| Location of Javascript files on server 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? |
| ||
| Re: Location of Javascript files on server I'm trying to understand what problem you have. Are you saying that you don't know how to format the "script" tags? Or that you don't know what to put in the "src" for the tag? |
| ||
| Re: Location of Javascript files on server It was the latter but ive solved it with .\ should I use the full url? |
| All times are GMT -4. The time now is 11:47 pm. |
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC