Sponsored by Activision
Introducing DJ Hero Game view!
djhero.com - Scratch and mix 102 songs in 93 original mixes from today's hottest artists. Available Now.
22 Comments
- TeRanEX, on 10/12/2007, -0/+2great digg strips html tags :(
langauge="javascript" should be type="text/javascript" - torunforever, on 10/12/2007, -0/+1HTML 4.0 script element
http://www.w3.org/TR/REC-html40/interact/scripts.html#h-18.2.1
language - deprecated
type - required - RationalBeaver, on 10/12/2007, -0/+1Looks like it's been fixed...except 'language' is spelled wrong.
- quaffapint, on 10/12/2007, -0/+0Personally, I'd rather look at nice existing examples, like those from dynamic drive. I implemented one of their javascript rolling scripts on my site (top of the windows) and learned things to boot...
http://www.funnyandfun.com - crapiolio, on 10/12/2007, -0/+0So many Digg noobs, this made to front page?
- inactive, on 10/12/2007, -0/+0ahahaha.. Good basic guide
- ddod, on 10/12/2007, -0/+0I have been looking at the example. Half of the ones I have tried don't work (at least not in firefox). Nice try...
- forrest, on 10/12/2007, -0/+0<a href="http://www.w3schools.com/js/default.asp">much better</a>
- modernhumorist, on 10/12/2007, -0/+0LAN gauge? I rule at learning.
- Bogtha, on 10/12/2007, -0/+0I just skimmed W3Schools - they make lots of basic errors too. And don't be fooled by the name - they have nothing to do with the W3C.
http://weblogs.mozillazine.org/doron/archives/2005/05/w3schools.html
[script langauge="text/javascript"]
This is wrong. Not only is language spelt wrong, but the value is what should be used for the type attribute - the language attribute should contain just 'javascript' (if you use it at all; you don't need it).
[script language="text/javascript" src="your_file.js"]
This is wrong, it's missing the closing tag. This typically hides the entire page contents if you make this mistake.
Its explanation of parseInt is lacking crucial information that will yield incorrect results - without specifying the radix argument (which the tutorial doesn't mention), it will interpret strings such as "014" as octal (i.e. it will convert the string "014" into the integer 12).
I'm not bothering going any further. It's clear it's written by somebody who doesn't know what they are doing, and they haven't even bothered loading some of their examples into a browser to see if they work or not. Flavell's Law applies.
This is an awful Javascript tutorial. Buy David Flanagan's Definitive Guide, published by O'Reilly instead. - fritzthecat, on 10/12/2007, -0/+0I don't think it's that good.
- GrendelT, on 10/12/2007, -0/+0Very cool. Thanks!
- barryfandango, on 10/12/2007, -0/+0This is a pretty cruddy tutorial, nothing about the fun list-based nature of the language, array and object literals, the distinction between core and browser javascript, even describes it as being like PHP without mentioning the difference between client and server side code. Bleh.
ps good call kam3k. Crockford is serious. - Kam3k, on 10/12/2007, -0/+0If you're new to JavaScript but not programming, I'd check out
http://www.crockford.com/javascript/ instead. - CodePupil, on 10/12/2007, -0/+0I just like how the complaints on N00bz are from accounts both less than a month old(not that I'm some grey beard).
anyway the guide is OK the w3school guide is better and thanks @kam3k I just added that page to my del.icio.us. - StephnDolenc, on 10/12/2007, -0/+0http://books.google.com/books?ie=UTF-8&hl=en&id=xn5aJpEJSEYC&pg=PA1&lpg=PA1&dq=David+Flanagan+Definitive+Guide&prev=http://books.google.com/books%3Fq%3DDavid%2BFlanagan%2BDefinitive%2BGuide&sig=6SlbC0svgy38ZEK2N5RE5nw5AIw
- StephnDolenc, on 10/12/2007, -0/+0Bogtha is right, Davaid Flanagan's Definitive Guide is awesome for learning JS
http://www.amazon.com/gp/product/1565923928/103-4222816-6071839?v=glance&n=283155 - TeRanEX, on 10/12/2007, -1/+0After seeing the first piece of code i stopped reading:
should be
afaik.
if it start with such an error i don't trust what follows very much... - BrightLibra, on 10/12/2007, -1/+0Gotta rag on the N00Bs for this making the top page - I guess they need more training...
Crockford is good stuff - Kam3K is right to check that out. - mrkredo, on 10/12/2007, -1/+0zzzz.
http://forumnyc.com - andreizilla, on 10/12/2007, -2/+0pathetic
- creepah, on 10/12/2007, -3/+0Thanks for the news :)
http://www.proxyindex.com - Free Anonymous Surfing


What is Digg?