tags:

views:

91

answers:

5

Hey, I am a newbie to JavaScript. I really don't know what it does. Can someone please tell me what can I do with it. I mean what are the possibilities of JavaScript. Also what tools will I require to develop in JavaScript. Is there some plugin available in Eclipse? Thanks.

+3  A: 

Wikpedia's take on it. It's good to do a bit of research before such a general question and ask more detailed questions instead.

Edit: also see about.com's 'getting started' article on javascript.

Tobiasopdenbrouw
+2  A: 

Javascript is a programming language.

You can do anything with it that you can do with other programming languages.

As with other languages, you need a text editor and a compiler/interpreter in order to develop with it.

It is mostly used with websites to provide better interaction than HTML can do alone and most web browsers have a built in interpreter for javascript. For security reasons, javascript in the browser is limited (so it can't directly access the filesystem, for example).

See this list of resources for further learning.

Oded
True. However, the most popular use for JavaScript is client-side JavaScript (JavaScript in browsers). All the browsers' implementation limits JavaScript's functionality or fails to provide access to functionality (cross-domain policies, no local file system interaction etc.)
MvanGeest
Javascript can do low-level IRQ manipulation in a Windows app? (For instance)
Tobiasopdenbrouw
@Tobiasopdenbrouw - if you have an interpreter/compiler for it, there is no reason why not. http://javascript.weblogsinc.com/2006/08/06/javascript-outside-of-the-browser/
Oded
A: 

You must check these out:

JavaScript is primarily used in the form of client-side JavaScript, implemented as part of a web browser in order to provide enhanced user interfaces and dynamic websites. However, its use in applications outside web pages is also significant.

Sarfraz
+1  A: 

Javascript is a programming language used, in context of web sites, to implement behavior function to a page on client side. Using HTML and CSS only, with no Javascript, you can only show things in a pre-defined way. With Javascript, you can control the way things behave.

You can use whatever text editor you like to write Javascript code, and a web browser to run it.

Johan
A: 

Here's a brief article to at least get you started. I found it by Googling "JavaScript Overview". I'm sure you can find more with similar search terms.

Michael