B
Billy Boone
I have a web form that allows the user to enter several pieces of
information. They can then click to see the results (which takes them to a
report form). From this form, if the user clicks the Back button on the
browser - they are returned to the input form and all of their inputs are
what they had entered. However, in the results form I have some links that
when clicked launch new windows (via javascript using window.open).
So I have the link:
<a id='link' href="" onclick="return onBrowse(this.id)">Link</a>
Here is the onBrowse:
function onBrowse(id)
{
window.open("link.asp?id=" + id", "link", "");
return false;
}
If the user clicks on these links then closes the new window. Then the user
clicks the back button from the report form (taking them back to the input
form) - the input form is shown but their selections are lost (they are
returned to their default values). What exactly is going on and how can I
work around this behavior?
Any help would be most appreciated.
BBB
information. They can then click to see the results (which takes them to a
report form). From this form, if the user clicks the Back button on the
browser - they are returned to the input form and all of their inputs are
what they had entered. However, in the results form I have some links that
when clicked launch new windows (via javascript using window.open).
So I have the link:
<a id='link' href="" onclick="return onBrowse(this.id)">Link</a>
Here is the onBrowse:
function onBrowse(id)
{
window.open("link.asp?id=" + id", "link", "");
return false;
}
If the user clicks on these links then closes the new window. Then the user
clicks the back button from the report form (taking them back to the input
form) - the input form is shown but their selections are lost (they are
returned to their default values). What exactly is going on and how can I
work around this behavior?
Any help would be most appreciated.
BBB