ScoobyNet.com - Subaru Enthusiast Forum

ScoobyNet.com - Subaru Enthusiast Forum (https://www.scoobynet.com/)
-   Computer & Technology Related (https://www.scoobynet.com/computer-and-technology-related-34/)
-   -   Javascript Question (https://www.scoobynet.com/computer-and-technology-related-34/156205-javascript-question.html)

Bal 04 December 2002 11:03 AM

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.

AdrianFRST 04 December 2002 11:11 AM

A single forward slash should do it /

Bal 04 December 2002 11:19 AM

Flippin heck.
It worked too.

Taaaaaaa.
Bal


All times are GMT +1. The time now is 02:11 AM.


© 2024 MH Sub I, LLC dba Internet Brands