Closed Thread Icon

Topic awaiting preservation: cross frame reset Pages that link to <a href="http://ozoneasylum.com/backlink?for=8285" title="Pages that link to Topic awaiting preservation: cross frame reset" rel="nofollow" >Topic awaiting preservation: cross frame reset\

 
Author Thread
numbness
Bipolar (III) Inmate

From: lost
Insane since: Aug 2002

posted posted 08-27-2002 21:40

guess u'll notice i'm new here. well i generally dont like to bother ppl asking for help but this little question is killing me !
well the situation is something like this :
there r 2 frames.
in one i do some addition , accepting the input using forms .
in the other i diplay the result ,ie the sum ,again using forms .
now the question is :
when i reset the 1st frame (addition frame) with a reset button , is there a way to link the field in the 2nd frame (result frame) so that it too gets reset , simultaneously?
if yes ,how ?
else , what other options do i have ? any suggestions ?




kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

posted posted 08-27-2002 22:03

Welcome!

If you're frames are called "frame1" and "frame2", and the forms' names are "form1" and "form2", this should reset the second form from within the first frame:

parent.frame2.document.forms["form2"].reset();

You could assign that code to the onclick event of form1's reset button then.

kuckus (cell #282)

numbness
Bipolar (III) Inmate

From: lost
Insane since: Aug 2002

posted posted 08-28-2002 13:50

wow thanx ! that really worked . actually it was kinda like what i was doing , i was just doing it wrong , lol
well thanks a lot again

kuckus
Bipolar (III) Inmate

From: Berlin (almost)
Insane since: Dec 2001

posted posted 08-28-2002 14:01

Glad it helped

kuckus (cell #282)

« BackwardsOnwards »

Show Forum Drop Down Menu