Click to See Complete Forum and Search --> : Javascript src redirect


field3d
August 23rd, 2009, 11:04 AM
Hello i have this src on my html:
<script language="javascript" src="infodetails.js" type="text/javascript"></script>
But the thing is now i need to call that src to a dir on c:\ maybe like this:

<script language="javascript" src="c:\anydir\infodetails.js" type="text/javascript"></script>

or

<script language="javascript" src="file:///C:/anydir/infodetails.js" type="text/javascript"></script>

But don´t work any of both.
Someone know how can i resolve this issue?
Thank you

PeejAvery
August 24th, 2009, 11:16 AM
I don't have any problem doing that.

field3d
August 24th, 2009, 11:18 AM
Here My script when call show me a white page on IE

PeejAvery
August 24th, 2009, 11:25 AM
The proper way would be to do the following. I did a test script with a simple alert...and it worked for me.

<script type="text/javascript" src="file:///C:/anydir/infodetails.js"></script>