Howdy:
Let's suppose for illustration that I have a web page with 3 frames:
Let's call them 'fStates', 'fCounties', and 'fCities'.
On loading the page, fStates has a select list of states and the other
two are empty. The form "target" attribute is 'fCounties', and
an event handler for the list in 'fStates' looks something like this:
onChange="form.submit();"
So when we click on a state item in 'fStates', a CGI action is posted to
'fCounties' and displays a list of counties there and now we 'target'
'fCities' to display cities for the chosen state->county venue, using
a similar approach.
It follows that when we click on a city, a new page is rendered, but
let's suppose that the user clicks again on a state, which then renders
the list of counties for that state *but* the 'fCities' frame now holds
a list of cities for the previously chosen state->county venue.
This could lead to confusion.
Question: Is there a way to clear 'fCities' from the onChange event in
'fStates' at or previous to the rendering of 'fCounties'? Pointers to
documentation, URLs, and examples are welcome.
TIA
Tim