Solved

vbscript question- frames

Posted on 1998-07-31
4
181 Views
Last Modified: 2013-12-25
I have 2 frames in my web application.
I need to get the value of textbox in another frame.
how?
0
Comment
Question by:indigoo
  • 2
4 Comments
 
LVL 28

Expert Comment

by:sybe
ID: 1858787
<script>
WhatyouWant = parent.name_of_other_frame.form_name.textbox_name.value;
</script>

So make sure you give a name to the frame, the form and the textbox.
0
 

Author Comment

by:indigoo
ID: 1858788
I need put this value in a session var like this
<%session=("myvar")=...........%>
0
 
LVL 28

Expert Comment

by:sybe
ID: 1858789
You can only get a client side form variable into a server side variable by submitting the form.

0
 

Accepted Solution

by:
netf_ds earned 100 total points
ID: 1858790
First, put you're variable it the session object :

after calling an .asp file, Session("MyVar")=Request("MyTextBox")

Then you will be able to use it (<%=Session("MyVar")%>).
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

777 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