Zaloguj | Zarejestruj | FAQ
Anonymous

External javascript file.

+ Odpowiedz

Posty: 2 Strona 1 z 1


External javascript file.

przez Benjamino » Pt cze 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.
Avatar użytkownika

Benjamino

  • Posty: 4
  • Dołączył(a): Cz cze 07, 2012 7:59 pm

Re: External javascript file.

przez XainPro » So cze 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 !
Avatar użytkownika

XainPro

  • Posty: 3933
  • Dołączył(a): Pt lut 17, 2012 8:10 pm


+ Odpowiedz

Strona 1 z 1