Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Opening an HTML page in the Current Window

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,236
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Opening an HTML page in the Current Window
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Opening an HTML page in the Current Window - 7/3/2001 12:13:55 PM   
  suzie

 

Posts: 1
Score: 0
Joined: 7/3/2001
From:
Status: offline
Hey everyone...

Just wondering how to open an HTML page in the current window on the event of a button click using VBScript

Any ideas?

Thanks,
Suz
 
 
Post #: 1
 
 Re: Opening an HTML page in the Current Window - 7/3/2001 10:15:35 PM   
  century

 

Posts: 10
Score: 0
Joined: 6/7/2001
From: USA
Status: offline
Hi,

Try this

<form>
<input type="button" onClick="vbscript:window.location='somepage.htm'">
</form>

Hope this can help

(in reply to suzie)
 
 
Post #: 2
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Opening an HTML page in the Current Window Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts