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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

JavaScript and ASP with Frames !!! 1

Status
Not open for further replies.

amitj

Programmer
Dec 11, 2000
10
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..
 
onChange of the selectbox, reload frame2 with a querystring of some sort:

onChange='parent.frames[1].location="findaddress.asp?name=" + this.value'

in findaddress.asp have client-side script to tell the user the address jared@aauser.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top