Login | Register | FAQ
Anonymous

External javascript file.

+ Post a reply

2 posts Page 1 of 1


External javascript file.

by Benjamino » Fri Jun 15, 2012 5:55 pm

Sometimes when I link my html document using to external js file using code <script type="text/javascript" src="benjamino.js"></script>,some codes work,others dont. how should I separate codes in a js external file(codes doing different tasks on html page). If in an html editor I want to include js codes at different stages should I keep on putting the coode <script type="text/javascript" src="benjamino.js"></script>,or just putting <script type="text/javascript" src="benjamino.js"></script>,between <title> and </head> is enough? Kindly help I'm stranded.
User avatar

Benjamino

  • Posts: 4
  • Joined: Thu Jun 07, 2012 7:59 pm

Re: External javascript file.

by XainPro » Sat Jun 16, 2012 6:42 am

,some codes work,others dont.
i assume there is a problem with your java script code not the way you linked it !
but i can only Guess till you share your code and tell this part works and this part does not works !
Good Luck !
User avatar

XainPro

  • Posts: 3567
  • Joined: Fri Feb 17, 2012 8:10 pm


+ Post a reply

Page 1 of 1

?>