Thread
:
redirect using javascript
View Single Post
01-17-2013, 12:18 AM
PM User
|
#
23
rnd me
Senior Coder
Join Date: Jun 2007
Location: Urbana
Posts: 3,554
Thanks: 9
Thanked 480 Times in 463 Posts
i can get the current drive letter like this:
Code:
<script> alert(location.href.split(":")[1].slice(-1)); </script>
__________________
my site
(updated 5/13)
STATS
(2013/5) HTML5:90.2% MOB:15.2% IE7:0.5% IE8:8.4% IE9:8.5%
IE10:8.5%
rnd me
View Public Profile
Visit rnd me's homepage!
Find More Posts by rnd me