Ask your own question, for FREE!
Computer Science 10 Online
OpenStudy (anonymous):

Hi, When you put javascript in html, and when its separate file .js, and how do you call java script?

OpenStudy (anonymous):

look up import statement something like <java script //import statement.js /> this is junk i just so rarely write it instead of copy and paste that I can't seem to recall the command oh well its an easy google for you....people do this to try to hide their js scripts from people that right click but anybody that is worth their salt knows how to get the script anyway. I don't bother I just directly embed for all to see. however calling multiple .js files can be handy if u have a huge ajax or javascript script and want to divide it for claritys sake.

OpenStudy (anonymous):

<script type="text/javascript" src="xxx.js"> from: http://w3schools.com/tags/att_script_src.asp

OpenStudy (anonymous):

Thanks jmit

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
2 days ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
2 days ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!