954,124 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

recommendations for JavaScript learning resources?

Hi all,

I've finally decided to get serious about learning JavaScript, and to facilitate this endeavor I've unearthed my copy of Danny Goodman's JavaScript Bible, 3rd Ed. (circa 1995, for which I no longer have the companion CD), but on reading the first chapter alone Ive realized just how outdated this tome is (with references to IE & NN v.2.0, Win3.1, "Digital's" Alta Vista, etc), so I am now considering purchasing the updated 4th Ed. The only problem with that is that I've read the reviews on Amazon.com and, judging by many of the reviews, it apparently doesn't live up to it's billing. I'm wondering if any of you have read the entire 4th Ed., or at least a substantial portion of it, and if so what your impressions are of it. Along with that, are there any particular references and/or tutorials - online or hardcopy- that you'd recommend I consider, or avoid, in acquiring this new-to-me skillset? Appropriate comments greatly appreciated!

aeinstein
Team Member - aka kaynine
Team Colleague
645 posts since May 2002
Reputation Points: 186
Solved Threads: 8
 

wow, it seems incongruous with all of the web knowledgeable ppl that frequent these boards that no one has a resource to point me to.

aeinstein
Team Member - aka kaynine
Team Colleague
645 posts since May 2002
Reputation Points: 186
Solved Threads: 8
 

Heh... I'm a .Net guy :-P no java in my blood.

Tekmaven
Software Architect
Moderator
1,274 posts since Feb 2002
Reputation Points: 322
Solved Threads: 28
 

OK, here I go ...

Are you sure you want to learn JavaScript and not a "real" language (such as java, for example)? JavaScript is a scripting language - meaning it's not awfully powerful and runs in a web browser client-side (as opposed to server-side).

It's used quite a bit to take care of the small lil tricks on the web. For example, you can use it to change an image when it's hovered over, create an online tic-tac-toe game, or even hangman. However, it can't be used with a backend database, etc. etc.

The best way to learn javascript is just to look at a whole lotta code snippets and see how things are done. It's really easy to figure out.

Check out www.javascriptsource.com <-- great site!


http://www.webteacher.com/javascript/
http://www.w3schools.com/js/default.asp
http://www.pageresource.com/jscript/index4.htm

I just did a google search for "javascript tutorial" and came up with those. They all look pretty good. Also, there are a lot of full working examples given, cuz as I said, it's the best way to learn.

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

webmonkey also has some good tutorials if I remember correctly. Another book you might want to look at is The Complete Idiots guide to JavaScript. It's pretty good. Though I agree with csgal, I'd learn a 'real' language. This is not to say you can't also know JS, just don't spend all your time on it. Because there is programs, such as Adobe ImageReady, that can take care of the bulk of your JS for you. Though it is good to understand it, in order to make changes or customize it. If you're really into a web language, I'd suggest php. Otherwise I'd learn Java, which could be used online or off :)

Iron_Cross
Junior Poster
117 posts since Jul 2003
Reputation Points: 46
Solved Threads: 2
 

thanks anyway tekmaven (but please dont confuse java w/javascript)

thanks cscgal & iron_cross
i am aware of the what & why of javascript and i'm sure my www ide of choice (dreamweaver) can handle 90%+ of the coding, and ur both right about the "real language" bit, but i want to get a "semi-ool" language under my belt b4 i go ont to a real ool such as c++ (& then java); haven looked into php yet - ool?

thanx again

aeinstein
Team Member - aka kaynine
Team Colleague
645 posts since May 2002
Reputation Points: 186
Solved Threads: 8
 

If you need some more:

http://www.funky-chickens.com/java2.shtml <- Basic, Basic, Basic.
http://www.javascript-page.com/ <- Examples

I would recommend picking up a book on javascript, you can learn so much more and easier than just online tutorials, as it's a guide put together for a step by step learning process.

rixius
Posting Whiz in Training
233 posts since Nov 2003
Reputation Points: 12
Solved Threads: 3
 
MtBobcat
Newbie Poster
3 posts since Jun 2004
Reputation Points: 10
Solved Threads: 0
 

its not working because its all inside of a comment. remove the from it. so it looks just like this

<xmp>
   <script language="JavaScript">
	 function click()
	 {if (event.button==2){alert('This is my Script')}}document.onmousedown=click//
   </script>
</xmp>


also, remember good formatting of the code will be your best freind later on down the line when you write very long and coplex scripts.

Killer_Typo
Master Poster
781 posts since Apr 2004
Reputation Points: 152
Solved Threads: 39
 

Please post new questions as separate threads so that multiple questions don't get lost on multiple pages of a single thread. In response to aeinstein's original question - check out www.javascriptsource.com - it has tons of free javascript code snippets that do a range of things along with demos of each - learning by example.

cscgal
The Queen of DaniWeb
Administrator
19,421 posts since Feb 2002
Reputation Points: 1,474
Solved Threads: 229
 

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

Is what I would recommend. w3schools has some of the best guides to.. well alot of things. I learn my CSS techniques there. :)

I have another link somewhere on my computer, let me dig for that a bit.

I would also recommend googling for harmful javascript exploits, so you know what to look out for to keep your code ( and server! ) safe and secure.

rixius
Posting Whiz in Training
233 posts since Nov 2003
Reputation Points: 12
Solved Threads: 3
 

Thanks for the response Killer_Typo I very much appreciate it and going to try it out

:-)

Ok, I just tried this code out and it shows the code up on the page and no message on a right click to give message..

what am I doing wrong? I placed the code into a blank Frontpage in html mode and viewed it both in preview and browser..

Maybe I should be on a beginners page some place.. sorry but sometimes it just needs a small chunk of the puzzle to get the bigger picture done..

Would appreciate your comment again please.. I do appreciate it..

MtBobcat
Newbie Poster
3 posts since Jun 2004
Reputation Points: 10
Solved Threads: 0
 
Thanks for the response Killer_Typo I very much appreciate it and going to try it out :-) Ok, I just tried this code out and it shows the code up on the page and no message on a right click to give message.. what am I doing wrong? I placed the code into a blank Frontpage in html mode and viewed it both in preview and browser.. Maybe I should be on a beginners page some place.. sorry but sometimes it just needs a small chunk of the puzzle to get the bigger picture done.. Would appreciate your comment again please.. I do appreciate it..


post your question in a new thread, that way we dont take over the current one.

Killer_Typo
Master Poster
781 posts since Apr 2004
Reputation Points: 152
Solved Threads: 39
 

Hi all,

I've finally decided to get serious about learning JavaScript, and to facilitate this endeavor I've unearthed my copy of Danny Goodman's JavaScript Bible, 3rd Ed. (circa 1995, for which I no longer have the companion CD), but on reading the first chapter alone Ive realized just how outdated this tome is (with references to IE & NN v.2.0, Win3.1, "Digital's" Alta Vista, etc), so I am now considering purchasing the updated 4th Ed. The only problem with that is that I've read the reviews on Amazon.com and, judging by many of the reviews, it apparently doesn't live up to it's billing. I'm wondering if any of you have read the entire 4th Ed., or at least a substantial portion of it, and if so what your impressions are of it. Along with that, are there any particular references and/or tutorials - online or hardcopy- that you'd recommend I consider, or avoid, in acquiring this new-to-me skillset? Appropriate comments greatly appreciated!

Well I don't know hoe to get started well but I sure will enrol in a trainning school ok. Have anyway you could be of help to me.

flexsmith093
Newbie Poster
1 post since Jan 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You