Was just trying a small script to load a file and while it works if I
run it locally on my own pc if I try and access it on a remote web
server it generates an error code 0: Access is denied in IE:
[CODE]<HTML>
<HEAD>
<SCRIPT LANGUAGE=”JavaScript”>
<!– Begin
function whatFile() {
window.location= ‘file:///’ + document.form1.cmuds.value;
}
// End –>
</script>
</HEAD>
<BODY>
<form name=form1>
<input type=file name=”cmuds”>
<input type=button onClick=”whatFile()” value=”Open File”>
</form>
</BODY>
</HTML>
I am trying to load the same local (text) file in each case. Anyone
know what the problem is and whether I can get round it ?
Thanks