WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 VBScript problem, azlon, August 24, 2003
     Re:VBScript problem, Erik Arvidsson, August 24, 2003

Subject: Re:VBScript problem From: Erik Arvidsson Date: August 24, 2003
getElementById returns the FrameElement and not the window. You should use window.parent.frames["mainFrame"]openLocation

erik

__________________________________________________

i am doing some vbscript stuff and i have a problem that can easilly be fixed. i have a frameset. when i click a button in leftFrame, i want it to trigger openLocation 'blah.asp' in mainFrame. now i know that in JScript it is parent.getElementById('mainFrame').openLocation('blah.asp'); well that doesnt work in vb, so i assumed it would be window.opener.mainFrame.openLocation 'blah.asp'. anybody have a solution to this? please help me!
- azlon



Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX