I know the subject might be confusing. I am no beginner with
javascript but I haven't been able to figure out how to get the
javascript file name from code inside the file. So you have an HTML
doc with script tag who's source is a javascript file.
<HTML>
<script src="javascript .js"></script>
</HTML>
Javascript.js
-------------
code to get the javascript.js file name?
Is there a way to get the filename in which the code is being executed?
Thanks
javascript but I haven't been able to figure out how to get the
javascript file name from code inside the file. So you have an HTML
doc with script tag who's source is a javascript file.
<HTML>
<script src="javascript .js"></script>
</HTML>
Javascript.js
-------------
code to get the javascript.js file name?
Is there a way to get the filename in which the code is being executed?
Thanks
Comment