The page uses just one frame and the page refreshes automatically
using a meta tag.
That alone is very bad for several reasons.
First, never ever use frames just to keep the Location Bar content the same;
users will be annoyed when they cannot easily bookmark the resource that
they are viewing, and users of UAs that are not capable to display frames
as they are (like lynx, frequently used as client for screen readers) will
consider you incompetent for inserting an unnecessary navigation step.
Annoyed users do not return, and chances are that they will tell all their
relatives, colleagues, and acquaintances how annoyed they were then and why.
Second, why are you refreshing *everything* when refreshing a portion of the
document (not: page) would suffice?
Third, you are using a proprietary and therefore inherently unreliable
feature here. <meta http-equiv="refresh" ...> is _not_ specified by HTML
4.01 nor even mentioned in the Specification. Nevertheless, there are UAs
that do support it and allow the support for it to be *disabled*, for
example Opera. So there is another problem.
I was thinking there might be a way using java script
Java != _JavaScript_
which detects when a user has clicked the dropped down list and
if so set a cookie saying the user has currently selected that drop
down list. Then when the page is refreshed, you could see if that
cookie is set and if so onload set the drop down list to be displayed?
I don't know if I am thinking along the right lines though.
Setting a cookie is a possibility; modifying the fragment identifier
part of the URI is better[1] because less intrusive and more reliable.
The best way is probably XHR[2], with a reload(true)'ed iframe, a
window.location.reload(true) call (all feature-tested at runtime before
use of course), and your `meta' element as fallbacks; in that order.
[1] Example:
http://validator.w3.org/#validate_by_upload as compared to
http://validator.w3.org/
[2]
http://developer.mozilla.org/en/docs/AJAX
But then I think you are this clueless that it is probably better for
you to read the FAQ first, and the scripting tutorials it refers to:
http://jibbering.com/faq/
HTH
PointedEars