Solved

vbscript question- frames

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

758 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

17 Experts available now in Live!

Get 1:1 Help Now