html doesn't import the javascript file -
here´s html code:
<!doctype html> <html> <head> <script type="text/javascript" src="/users/edvinhedblom/library/mobiledocuments/com~apple~clouddocs/javascriptfile.js"></script> </head> <body>
the problem doesn't take functions path. doing wrong?
- make sure index.html , js file folder same disk.
2.and remove / in src @ beginning.
<script type="text/javascript" src="users/edvinhedblom/library/mobiledocuments /com~apple~clouddocs/javascriptfile.js"> </script>
or save javascript.js
file in folder name called "js"
and link js file this,
<script type="text/javascript" src="js/avascript.js"></script>
Comments
Post a Comment