Solved

vbscript question- frames

Posted on 1998-07-31
4
179 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Form submit issue 11 80
SQL Injected data? 8 114
What about 192.168.1.0/28 3 31
would like the bottom of this page to be smaller 3 19
Envision that you are chipping away at another e-business site with a team of pundit developers and designers. Everything seems, by all accounts, to be going easily.
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

861 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

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now