aspose file tools*
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
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
Author

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
Rancher

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

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


Larry Aronson
Author: HTML Manual of Style
http://LarryAronson.com/
@laronson, @HTML5pro
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: advantages of javascript over other scripting languages ?