Quote:
Originally Posted by spacecadet11
Hello. What is the difference between java & javascript?
|
http://www.htmlgoodies.com/beyond/ja...JavaScript.htm
Quote:
Originally Posted by spacecadet11
I think js is just about how you control 'text' on web pages..where java is....what?
|
Very basically:
Java is a programming language that is used to create stand-alone programs or used on a server to generate websites (e. g. compile HTML snippets into one document that is then shown in the browser). You can’t see Java code in a website because it is executed on the server and only outputs HTML, for example, based on whatever conditions are met.
JavaScript is a
client-side scripting language (“client” is the user’s computer) used to
modify a document after it has been rendered (i. e. is shown in the browser). JavaScript is used to add dynamic functionality to websites, apart from basic stylistic things that CSS can do. For example you can quickly add and remove elements from a website through user interaction or do advanced calculation, form validation on the fly while typing, etc.