...

View Full Version : Javascript Versions



djchub
12-10-2007, 11:21 AM
Hey guys is there alot of difference between the JavaScript versions 1.4 1.5 and later versions?? Like i got a book on Javascript and i was interested in learing Javascript but the books based on Javascript 1.4...Now i read somewhere that Javascript 1.4 is not used in Browsers and it is used only in Netscape Servers!!Is this true? And will learning JavaScript 1.4 help me out in creating web pages!! Pls give me some advice guys..I'm totally confused like should i go through the book or should i jus buy another book based on the latest version of Javascript??

Philip M
12-10-2007, 11:26 AM
In fact the latest version of Javascript is 1.7.

For more info see:-

http://devedge-temp.mozilla.org/central/javascript/index_en.html

You should always study reference books/tutorials relating to the most recent version.

rnd me
12-10-2007, 05:08 PM
the core syntax remains relatively unchanged.

they try to keep old code working when they update, so if your book is well written and understandable, don't worry too mush about it being old.

changes comes as additions, extra keywords and whatnot. they rarely take anything away.

1.5 is the current cross-browser version.
you can add many of the features of 1.6 to non-firefox browsers using prototypes.

djchub
12-11-2007, 07:57 AM
Hey thanks alot guys...the book i've got seems to be good-its got alot of coding in it....I was just going through the book i was talking about...i was going through all the loops and other statements...i understand the whole concept and how it works etc but i have absolutely no idea how to use these in a program!!!.... i.e i cant write a program based on these concepts!! Any advice?? From where can i get the ideas that'll help me to use these concepts etc....

thnx

BTW the book i'm talking about is:-
PURE JAVASCRIPT by R.Allen Wyke, Jason D. Gilliam and Charlton Ting.

Philip M
12-11-2007, 08:09 AM
...i understand the whole concept and how it works etc but i have absolutely no idea how to use these in a program!!!.... i.e i cant write a program based on these concepts!!
BTW the book i'm talking about is:-
PURE JAVASCRIPT by R.Allen Wyke, Jason D. Gilliam and Charlton Ting.

I feel much the same about underwater motorcycling. I understand the concept completely but find it hard to put into practice.

Try something like "Javascript in Easy Steps" by Mike McGrath.

rnd me
12-11-2007, 11:43 AM
something that really help me was just installing firebug.
whenever i see some interesting technique or application, i think "how did they do that"? with firebug, the answer is usually within a couple clicks.

one of the best parts about javascript is that it is all open-source. it can be "yuckied" up, but calling toString() on a minimized function reveals it flow stucture. (in firfox at least).

i started learning by reading reference manuals. you should have at least heard of every global, all the default string and array prototypes, html tag names, etc. there is quite a bit of memorization at first. Eventually you will find that you not only have heard of all the keywords, you actually know what they do. still later, you get to the point where you know when, where, and how to use them to do what you want to do. And hopefully someday. you will figure out why to use them.


once you get familiar with using the tools, building is easier. i tend to learn beter from real-life example than book, but everyone is different.


set goals, and you will reach them.

$0.02

Kor
12-11-2007, 03:20 PM
djchub, an HTML/XHTML document has elements (tags, text...). Elements have attributes. Attributes have values. Javascript is able to create/change/remove all these at a client-level. For this, javascript uses methods. The methods are nested in functions. The functions are called by events, following the user's actions.

All you have to do is to learn how to refer the document elements and which are the native javascript methods and events.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum