hi guys i was trying to use the prototype.js in my web application
i placed an example index.html which links the js file via a script tag
<script src="prototype. js" type="text/javascript"></script>
both files are in my htdocs root folder
however. when i call the file index.html thru my apache server, it doesnt work
http://127.0.0.1:8080/index.html doesnt work
but when i call it by opening index.html using IE, it will work
c:///file/.....htdocs/index.html will work
i'm kinda confused by why this happens
i placed an example index.html which links the js file via a script tag
<script src="prototype. js" type="text/javascript"></script>
both files are in my htdocs root folder
however. when i call the file index.html thru my apache server, it doesnt work
http://127.0.0.1:8080/index.html doesnt work
but when i call it by opening index.html using IE, it will work
c:///file/.....htdocs/index.html will work
i'm kinda confused by why this happens