32

I am looking for a good API documentation for Javascript especially related to browsers and DOM. I am not looking for any kind of Javascript tutorial, but simply a documentation for all standard Javascript classes and for classes used in web browsers.

Something similar to Java's Javadoc ( http://java.sun.com/j2se/1.4.2/docs/api/ )

Mogsdad
  • 44,709
  • 21
  • 151
  • 275
Juha Syrjälä
  • 33,425
  • 31
  • 131
  • 183

7 Answers7

21

How about the standards?

  1. DOM2 Core (W3C)
  2. DOM2 Events (W3C)
  3. DOM2 HTML (W3C)
  4. DOM2 CSS (W3C)

And for javascript itself:

  1. Standard ECMA-262 ECMAScript Language Specification (ECMA)
some
  • 48,070
  • 14
  • 77
  • 93
  • Also see [this](http://stackoverflow.com/questions/401969/javascript-reference-for-offline-browsing) answer for an updated list. – some Mar 26 '13 at 10:38
9

Gecko DOM Reference

JavaScript Kit - DOM Reference

And many more.

John Sheehan
  • 77,456
  • 30
  • 160
  • 194
7

I'm rather fond of Got API, which lets you see easily see api docs about all the various pieces of web development.

Richard Levasseur
  • 14,562
  • 6
  • 50
  • 63
4

One of the best sites i came across was http://www.quirksmode.org/

http://www.quirksmode.org/compatibility.html

Compares major browsers’ CSS and JavaScript capabilities, as well as their adherence to the W3C standards.

Added 18/01

When can I use... http://caniuse.com/

Compatibility tables for support of HTML5, CSS3, SVG and more in desktop and mobile browsers

Amitd
  • 4,769
  • 8
  • 56
  • 82
4

https://developer.mozilla.org/

The DOM section of it is probably what you look for, alongside with Javascript.

Сыч
  • 930
  • 1
  • 8
  • 15
1

specific to jQuery I quite like visualjquery.com

Scott Evernden
  • 39,136
  • 15
  • 78
  • 84
0

I find that when working a lot with these things, nothing beats having a book (which automatically falls open on the 2-3 most popular places due to wear & tear). Nothing beats the rhino book, which also has good coverage on what differences you can expect from different browsers. Get the latest edition.

krosenvold
  • 75,535
  • 32
  • 152
  • 208
  • Note for those reluctant to _read a book_: you can buy electronic version of O'Reilly books :), available in several formats. – Richard Levasseur Feb 17 '09 at 07:12
  • I know it's really *so* 1900's, but this is the only book I own that is totally worn to pieces. I'm kind-of waiting for a new edition because my current book is worn out. Reinforced with gaffa in the spine. – krosenvold Feb 17 '09 at 07:41