I have a tree menu, where, each sub menu is only loaded when required. Loading entails submitting a request which returns, into a separate frame, javascript to create the sub menu on the frame where the menu is being displayed.
The trouble is, the request, which involves submitting a form, is appended to the top window's history.
To date, the only way I've managed to avoid this is to do window.open("","TaskWindow"
, and make the target of the request form "TaskWindow". That way, the top window's history array is unaffected, but it means having a popup window flash up on the screen every time a sub menu needs to be loaded.
I've tried sumitting the form to an iframe and that doesn't seem to work.
If anyone has any ideas that'd be great.
The trouble is, the request, which involves submitting a form, is appended to the top window's history.
To date, the only way I've managed to avoid this is to do window.open("","TaskWindow"
I've tried sumitting the form to an iframe and that doesn't seem to work.
If anyone has any ideas that'd be great.