I have a frameset with two frames. Both the frames have
forms. What I wish to do is have the top form have one
button that submits both frames. Is that possible? And how?
I had the idea that the top window, from javascript, would
submit the bottom frame, check for the existence of a
variable in the bottom frame and on that finding submit the
top frame. I set a timer to keep checking until it is found.
I have read that to check for the existence of a variable
you simply do this:
if ( window.variablename )
alert("variable exists"
else
alert("variable does not exist"
When doing this I get the error "object is null or does
not exist" (javascript error dialog).
Does anybody have a good idea on this?
forms. What I wish to do is have the top form have one
button that submits both frames. Is that possible? And how?
I had the idea that the top window, from javascript, would
submit the bottom frame, check for the existence of a
variable in the bottom frame and on that finding submit the
top frame. I set a timer to keep checking until it is found.
I have read that to check for the existence of a variable
you simply do this:
if ( window.variablename )
alert("variable exists"
else
alert("variable does not exist"
When doing this I get the error "object is null or does
not exist" (javascript error dialog).
Does anybody have a good idea on this?