...

View Full Version : garbage page



PGMR_1998
06-09-2003, 07:50 PM
this code displays 2 ms word documents in a browser window. the first doc is fine, but when i hit the browser back button to look at the first, it is garbage.

<!--
function submitforms()
{
var d1 = "Test1.doc";
var d2 = "Test2.doc";
myWindow = window.open(d1);
myWindow.location="http://intranet/Test2.doc";
}
// -->
</script>

chrismiceli
06-09-2003, 09:09 PM
try and open it like this

window.open("document.doc","doc", "");



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum