Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Hello Everyone, A very tricky ques

Status
Not open for further replies.

amitj

Programmer
Dec 11, 2000
10
0
0
IN
Hello Everyone,
A very tricky question on ASP and JavaScript..
Kindly answer the followin question

There is a ASP document, With 2 frames (fr1 and fr2).

fr1 --> It has a big form in which there is a select box giving member names from a

MS Access DataBase.I have kept the value attribute as the ID of members

DataBase-->the fields are ID, Name, Address.

fr2-->It is a plane document with just nothing on it,
Now the question ??
I want that when the user select a name in the fr1 select box, I want the Address

of the selected name on fr2 ??

Condition-->
the fr1 should not get REFRESHED at any cost as the user can continue filling

the rest of the long form and will get the address of member on fr2 after sometime,

With the help of JavaScript HOW can V achieve this..

thanks a lot..
 
I would switch to Java for this and make an applet or better yet a servelet. Sounds as if you may be building something that in the future may become limited with ASP.
 
after the form in frame1 gets submitted (with javascript, make the onchange handler of the select box submit the form), in your asp script handling the submission, only write to frame2, don't write anything to frame1. frame1 should go unchanged, so the user can continue entering information ray
rheindl@bju.edu

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top