Login | Register | FAQ
Anonymous

javascript code

+ Post a reply

3 posts Page 1 of 1


javascript code

by Benjamino » Tue Jun 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?
User avatar

Benjamino

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

Re: javascript code

by chrisf1288 » Tue Jun 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.
User avatar

chrisf1288

  • Posts: 128
  • Joined: Sun Jun 26, 2011 1:01 am

Re: javascript code

by XainPro » Thu Jun 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 ...
User avatar

XainPro

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


+ Post a reply

Page 1 of 1