|
-
Jul 6th, 2000, 02:50 PM
#1
Thread Starter
New Member
In JavaScript I can reload a page with something like
parent.obj.location.href = "x.asp?parm=1"
What is the analogous construction in VBScript? Sorry for this seemingly trivial question but I'm operating w/o any docs at the moment. Any help would be appreciated.
-
Jul 7th, 2000, 04:48 AM
#2
Frenzied Member
Yes!
parent.location.href = 'x.asp?parm=1';
or
window.location.href = 'x.asp?parm=1';
should work!
I don't know what the VBScipt equivalent is.
If I were you I wouldn't bother with client-side vb script
-
Jul 7th, 2000, 05:04 AM
#3
Fanatic Member
The VB script equivalent is
response.redirect
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jul 7th, 2000, 05:21 AM
#4
Frenzied Member
Ian, response.redirect is serverside VBscript only isn't it?
I think Zukie wanted the client-side version
-
Jul 7th, 2000, 05:30 AM
#5
Fanatic Member
Sorry Mark you are correct (getting my languages mixed up), what you actually want is just
Location.href = ...
same as in java
Of course it only works in IE
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Jul 7th, 2000, 09:13 AM
#6
Thread Starter
New Member
Thank you all for you help.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|