?
Solved

VBScript:  Returning value of input box

Posted on 2005-04-04
4
Medium Priority
?
268 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Industry Leaders: 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

Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

764 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