views:

1257

answers:

15

When I do a search, the results are a bit hit-and-miss; many of the 'documentation' sites seem more advertising than information. What are the good sources of Javascript language info on the web?

+9  A: 

I've found w3schools to be a good source of information on javascript and web development in general:

http://w3schools.com/jsref/default.asp http://w3schools.com/js/default.asp

John Boker
Ugh. No offense, but w3schools is like a reference for DHTML from 1998.
eyelidlessness
w3schools is a tricky one. They have a *lot* of information, but some of it of it is out of date, IE-friendly, or wrong. It's difficult to tell when to follow its advice.
Sidnicious
+3  A: 

Sun's docs are very good... http://docs.sun.com/source/816-6408-10/

rp
Sun ripped the content from Netscape, which is now part of AOL, and since Oracle bought Sun, does that mean Oracle is stealing content from AOL? Also, dated `05/28/99`.
Dave Jarvis
+3  A: 

http://www.gotapi.com/jsdomw3s which uses w3schools

Gilean
+3  A: 

http://krook.org/jsdom/

binil
Not bad, but more of a DOM doc, not a javascript language doc.
Bruce
+6  A: 

I really like the DevGuru Javascript index. It's not very useful as a tutorial, but if you already know how to use Javascript and want to look something up, then it's invaluable. Every function and object has its own page, and certain object methods also have their own pages when they need to explain a lot and provide examples. I use this all the time when I find myself asking questions like "How do I add options to a dropdown" or "What string methods does Javascript have".

You can find it at http://www.devguru.com/Technologies/ecmascript/quickref/javascript_intro.html

Eli Courtwright
+2  A: 

I really like the MSDN docs for this topic. I just think they are easy to navigate and are fairly complete.

As a HTML DOM scripting reference I use this link (this is what I need most of the time):

http://msdn.microsoft.com/en-us/library/ms533050.aspx

It lists all of the HTML objects and associated methods which is very useful.

For a pure language reference there is this:

http://msdn.microsoft.com/en-us/library/z688wt03(VS.71).aspx

This goes into the details and structure of the actual language (EcmaScript or JScript or JavaScript) and is very useful for understanding what is generally possible.

These two resources together are a very thorough reference of what you can do with JavaScript within the context of web development.

spoon16
+27  A: 

The Mozilla Developer Connection is pretty good: http://developer.mozilla.org/

Shog9
I always include "mdc" along with my Google search keywords to get results from MDC. e.g. try "javascript array mdc" and you'll get the Array object reference at MDC.
Ates Goral
+17  A: 

If you want to learn little bit more than the typical 'HOW TO DO' samples and Javascript reference material available on web, you should really check out Javascript articles by Douglas Crockford..

Gulzar
A: 

Opera's Developer Community Javascript page isn't a language reference, but is one of the more useful resources I've come across. It is not updated all that often.

Joel Anair
+4  A: 

QuirksMode.org has always been my favorite. Very clear descriptions that integrate browser differences.

Lucent
+1 - Why don't you link to this directly in your post?
Casey
+3  A: 

This guy's site is pretty good: http://javascript.crockford.com/. This one is pretty good too: http://www.hunlock.com/blogs/Functional_Javascript. But they're more like finishing courses.

Axeman
Agreed. hunlock's site is really good.
troelskn
A: 

I prefer http://references2.com, quick search, even better when you use several technologies (who wouldn't?).

A: 

Another great site, although it doesn't show up often in Google searches is irt.org specifically the JavaScript FAQ

Darryl Hein
A: 

http://www.ecmascript.org/docs.php

TheMagician
A: 

I've been looking at online documentation for JavaScript too and it really varies - some is just about using JavaScript for manipulating the DOM and does not discuss the core language.

If you want the straight info, without any marketing, go straight to the ECMA standard.

It's dry, but informative. If it is too dry for you, I agree with others that Crockford and Yegge both have published a lot of great material that is much more interesting. I've been jumping back and forth to try and get a balanced understanding.

Jim Anderson