File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes advantages of javascript over other scripting languages ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "advantages of javascript over other scripting languages ?" Watch "advantages of javascript over other scripting languages ?" New topic

advantages of javascript over other scripting languages ?

Shashank Agarwalg
Ranch Hand

Joined: Mar 03, 2010
Posts: 110

Their are many scripting languages are available today like vbscript, emscript etc. but why we prefer JavaScript or why not ?

Trying to win the world.....................
SCJP 6.0 , SCWCD/OCPJWCD 5, BlackBerry Developer
Lester Burnham

Joined: Oct 14, 2008
Posts: 1337
No other language works across multiple browsers, so there really is no alternative in the browser.
Larry Aronson

Joined: Dec 08, 2010
Posts: 26

While previous versions of the HTML specification support the use of ECMA scripting languages in general, the HTML5 proposed specification is all about JavaScript. This is one of the key points about HTML5 — there's a JavaScript API describing how every document element should behave in response to user actions and other events.

New HTML5 features such as the canvas, audio and video elements, as well as supporting HTML5 technologies such as local storage and geo-location, are rather useless without JavaScript.

So, it is essentially mandatory for those who are making HTML5-compliant browsers to support JavaScript. Supporting other scripting languages is optional.


Larry Aronson
Author: HTML Manual of Style
@laronson, @HTML5pro
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
subject: advantages of javascript over other scripting languages ?
It's not a secret anymore!