Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

VBScript:  Returning value of input box

Posted on 2005-04-04
4
Medium Priority
?
272 Views
Last Modified: 2012-05-05
Hello, thanks for reading my post.

My web page consists of two frames:  frame A and frame B.  

Frame A contains a drop-down list with a bunch of arbitrary values and a link.  This link will open up in frame B, and the content will be determined by the value of the drop-down box.

WITHOUT submitting the value of the drop-down box via a form, I was wondering if there was a way to read the value from frame A while frame B is being rendered.

Thanks in advance.

Michael

0
Comment
Question by:michaelman
  • 3
4 Comments
 

Author Comment

by:michaelman
ID: 13702131
Sorry..forgot to mention I am using VBScript.  Thanks.
0
 
LVL 2

Accepted Solution

by:
NaliniP earned 150 total points
ID: 13702962
sub onChange_dropdown()
Dim sVal
sVal = document.all("select box name").value
document.frames(1).location.href = sVal
end sub

call this procedure on the onchange event of the dropdown. i think your problem will be solved.
0
 

Author Comment

by:michaelman
ID: 13704250
Hello, thanks for the reply.

My apoligies, I think I might have been unclear.  The drop-down itself isnt going to open up a new page.  In addition to the drop-down box, there will also be a standard anchor tag:
<a href="somepage.asp" target="someframe">Click here</a>

But, I want people to be able to change the value of the drop-down before they click on this link and have that value be read from the new page.

Any suggestions?  Thanks again.

Michael
0
 

Author Comment

by:michaelman
ID: 13907356
Sorry question was open for so long.  Thanks for trying.

Michael
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I recently decide that I needed a way to make my pages scream on the net.   While searching around how I can accomplish this I stumbled across a great article that stated "minimize the server requests." I got to thinking, hey, I use more than one…
I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question