My question is regarding how to pass variables between frames.

So I have a page with 2 frames, lets say frame A and B. Frame A has a
form with a bunch of text boxes that get filled by an ASP SQL query
and Frame B
simply displays the results of frame A. I'm doing this so that frame
B
does not have to be refreshed.

However, frame A needs to be refreshed to conduct the query and I
can't copy the values into frame B until frame A is done. Does anyone
know of a way to tell frame B that frame A is done being refreshed?

I tried the "onload" method, but it doesn't work because it doesn't
fire during a refresh, only on a new load.

I'm totally stuck and would appreciate any suggestions.