Fog Creek Software
Discussion Board

JavaScript book? A respectable one?

The last time I did any JavaScript programming it was 1996, and my code made many versions of the popular Web browsers explode. As in, it crashed entire PCs.

Eventually, I learned to stick to simple HTML and do all the programming on the server side, usually in a scripting language like Perl. I avoided JavaScript like the plague.

Now it's starting to look like I can't avoid JS much longer. The other day I used it to make a "Select All" function for checkboxes on a Web form. Now I need it to try and give a Web app nifty keyboard shortcuts like what Gmail has. And we all know JavaScript will only get more important since "the new API is HTML" ( ).

So can anyone recommend a good JavaScript book?

I mean, like, a really good one. I don't want a book with its own user interface that takes 10 pages to document, or something written by a 14 year old Web consultant, or one littered with sidebars and little "Tip:" boxes  and lots of interior starbursts and unneccesary charts. I don't want a book that is 800 pages so its fat, neon green spine can entice browsing bookstore patrons. Nothing with a CDROM.

What I do want is something technically mature,

*with enough depth to explain the underlying design and fundamentals of the language rather than merely offering "how-to" scenarios,
*with enough attention to detail to explain what will work in what browser and to identify the subset of JavaScript most likely to work in both IE and Mozilla,
*written in engaging, straighforward English with a minimum of jargon,
*bonus points for concision (ie bonus points if the book is short or shortish)

Does any book spring to mind?

Thanks in advance ....

R Tate
Monday, June 28, 2004

O'Reilly's "Javascript: the Definitive Guide", by Flanagan is good.

Monday, June 28, 2004

The Javascript Bible by Danny Goodman  is some of the best money I have ever spent.

Monday, June 28, 2004

Ditto on Flanagan's book, especially if you already know another programming language.

Chris Winters
Monday, June 28, 2004

I got both the card and the foldouts. The HTML chart is on my wall.


Monday, June 28, 2004

The O'Reilly Javascript and DHTML Cookbook is pretty good:

Matthew Lock
Monday, June 28, 2004

The main one I have ever sworn by was JavaScript from Sams. I've bought both their versions, and haven't found a better guide to stick with me no matter what.

Monday, June 28, 2004

The best is already mentioned... nothing meets up to the mustard of The JavaScript Bible, by Danny Goodman. One truly awesome book.

Arron Bates
Tuesday, June 29, 2004

I have and like Javascript Bible, but I've heard equally good things about Flanagan's book as well.  So, I'd just go with whichever is cheaper.

Yet another anon
Tuesday, June 29, 2004

I have and use Flanagan's book, and it's a solid recommendation. The book I turn to again and again, however, especially for a reference on which browsers support what, is another Danny Goodman book: Dynamic HTML, The Definitive Reference. It's a big, green spine, but it's the best $60 I've ever spent.

Rob Warner
Tuesday, June 29, 2004

i use and continue to use the wrox one...a few code errors, but its not bad.  Also explains the DOM, BOM, DHTML, a few other extras. 

Tuesday, June 29, 2004

*  Recent Topics

*  Fog Creek Home