|
-
August 23rd, 2009, 11:04 AM
#1
Javascript src redirect
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
Last edited by field3d; August 23rd, 2009 at 11:19 AM.
-
August 24th, 2009, 11:16 AM
#2
Re: Javascript src redirect
I don't have any problem doing that.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
August 24th, 2009, 11:18 AM
#3
Re: Javascript src redirect
Here My script when call show me a white page on IE
-
August 24th, 2009, 11:25 AM
#4
Re: Javascript src redirect
The proper way would be to do the following. I did a test script with a simple alert...and it worked for me.
Code:
<script type="text/javascript" src="file:///C:/anydir/infodetails.js"></script>
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|