...

View Full Version : Open a .doc file



feras_wilson
01-24-2006, 09:33 PM
Hi all!
I can't open a .doc file in this script:


<script>
function openAfile() {
win = window.open(myfile.value)
mytext.document.body.innerHTML=win.document.body.innerHTML
win.window.close()
}
</script>
<body>
<iframe id="mytext">
</iframe>
<input type="file" name="myfile">
<input type="button" onclick="openAfile()" value="Open file">
</body>

Can some one give me the code?
Please Help!:confused:



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum