|
 |
asp_web_howto thread: can we refresh frame 2 from frame 1
Message #1 by "taherm@f... on Thu, 22 Nov 2001 16:26:53
|
|
Scenario
in the top frame i have a drop down with company names and a button called
get info
say if teh user selects company A and presses the submit button the
details of that company are seen in the bottom frame..
Problem::
the problem is that inhave an edit company name button in the bottom
frame.. if teh name of teh company is edited i want the top frame to be
refreshed with the new company name..
I hope the above makes sense...
Any suggestions to this problem....will be thankful
Regards
Message #2 by "Magowan, Ryan(LIT)" <R.Magowan@L...> on Thu, 22 Nov 2001 16:39:03 -0000
|
|
You could use this
parent.frames[1].location.replace('yourURL');
hth
Ryan
-----Original Message-----
From: taherm@f...
[mailto:taherm@f...]
Sent: 22 November 2001 16:27
To: ASP Web HowTo
Subject: [asp_web_howto] can we refresh frame 2 from frame 1
Scenario
in the top frame i have a drop down with company names and a button called
get info
say if teh user selects company A and presses the submit button the
details of that company are seen in the bottom frame..
Problem::
the problem is that inhave an edit company name button in the bottom
frame.. if teh name of teh company is edited i want the top frame to be
refreshed with the new company name..
I hope the above makes sense...
Any suggestions to this problem....will be thankful
Regards
$subst('Email.Unsub')
Message #3 by Greg Griffiths <griffiths@x...> on Thu, 22 Nov 2001 21:58:16 +0000
|
|
This can be done using Javascript. There are plenty of examples in books /
websites on how to populate drop downs and also how to reference other
frames, so I suggest that you try there first, if you are still stuck, mail
me and the P2P Javascript list and we'll try and help some more.
At 16:26 22/11/01 +0000, you wrote:
>Scenario
>in the top frame i have a drop down with company names and a button called
>get info
>
>say if teh user selects company A and presses the submit button the
>details of that company are seen in the bottom frame..
>
>Problem::
>the problem is that inhave an edit company name button in the bottom
>frame.. if teh name of teh company is edited i want the top frame to be
>refreshed with the new company name..
>I hope the above makes sense...
>
>Any suggestions to this problem....will be thankful
>Regards
|
|
 |