View Single Post
Old 10-04-2012, 07:36 PM   PM User | #4
VIPStephan
The fat guy next door


 
VIPStephan's Avatar
 
Join Date: Jan 2006
Location: Halle (Saale), Germany
Posts: 7,602
Thanks: 5
Thanked 865 Times in 842 Posts
VIPStephan is a jewel in the roughVIPStephan is a jewel in the roughVIPStephan is a jewel in the rough
Quote:
Originally Posted by spacecadet11 View Post
Hello. What is the difference between java & javascript?
http://www.htmlgoodies.com/beyond/ja...JavaScript.htm

Quote:
Originally Posted by spacecadet11 View Post
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.
__________________
Don’t click this link!
VIPStephan is offline   Reply With Quote