External javascript file.
Page 1 of 1
External javascript file.
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.Re: External javascript file.
,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 !
Page 1 of 1