Notices
Computer & Technology Related Post here for help and discussion of computing and related technology. Internet, TVs, phones, consoles, computers, tablets and any other gadgets.

Javascript Question

Thread Tools
 
Search this Thread
 
Old Dec 4, 2002 | 11:03 AM
  #1  
Bal's Avatar
Bal
Thread Starter
Scooby Regular
 
Joined: Jun 2000
Posts: 271
Likes: 0
Post

Q. How do I reference the root folder of the current application running on IIS using asp.

eg:
current file & location = somefolder/someotherfolder/test.htm
Rather than doing '../../'

And I want to access a file in the root of the application.

Done on a HREF.
Reply
Old Dec 4, 2002 | 11:11 AM
  #2  
AdrianFRST's Avatar
AdrianFRST
Scooby Regular
 
Joined: Oct 2000
Posts: 368
Likes: 0
Post

A single forward slash should do it /
Reply
Old Dec 4, 2002 | 11:19 AM
  #3  
Bal's Avatar
Bal
Thread Starter
Scooby Regular
 
Joined: Jun 2000
Posts: 271
Likes: 0
Post

Flippin heck.
It worked too.

Taaaaaaa.
Bal
Reply
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
KAS35RSTI
Subaru
27
Nov 4, 2021 07:12 PM
slimwiltaz
General Technical
20
Oct 9, 2015 07:40 PM
IanG1983
Wheels, Tyres & Brakes
2
Oct 6, 2015 03:08 PM
Brzoza
Engine Management and ECU Remapping
1
Oct 2, 2015 05:26 PM
the shreksta
Other Marques
26
Oct 1, 2015 02:30 PM




All times are GMT +1. The time now is 10:42 AM.