Zaloguj | Zarejestruj | FAQ

javascript code

+ Odpowiedz

Posty: 3 Strona 1 z 1

javascript code

przez Benjamino » Wt cze 12, 2012 8:01 pm

Hope this finds you in good health,
I have a problem in loading my javascript code. when its included in the html code,its working well,but when linked from outside,some code is executed but others not! what could be the problem,and what should I do?
Also,can more than one html documents be linked to the same css or javascript code?
also,how can you decide where a javascript information(eg a calculation done in a javascript code) will be displayed on your website?
Avatar użytkownika


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

Re: javascript code

przez chrisf1288 » Wt cze 12, 2012 9:07 pm

Heya Benjamino

Well, first you should post your code. It's a little bit tricky to figure out the problem without it.
Yes you can link .js and .css files to multiple html pages. That is the beauty of external files, it saves boatloads of time.
And I'm not exactly sure what you mean on your last question.
Avatar użytkownika


  • Posty: 128
  • Dołączył(a): N cze 26, 2011 1:01 am

Re: javascript code

przez XainPro » Cz cze 14, 2012 11:57 am

yah i agreed with chrisf1288 without watching your code its bit early to say something and quite dificult to understand please paste your code ...
Avatar użytkownika


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

+ Odpowiedz

Strona 1 z 1