I'm having a problem using location.href in IE6. The codeworks fine in Opera and Mozilla.
Basically there's a frameset with 2 frames. When a link in the right hand frame is clicked, a confirm dialog pops up to determine whether or not the user wishes to view or download the file. If they want to dl it, the frame *should* redirect to a script which sends them the file (as opposed to IE trying to open it in a browser window). As I say this is working nicely on other browsers.
It seems location.href is somewhat buggy in IE, so is there a decent workaround? I've tried opening the file-save script in a new window with window.open, but once the dl is complete the window stays there.
Bit stuck really