How do I learn to program in Javascript?

What are the best tools that the pro's use to program Javascript?
In: Tech.Info-Tech Asked by: EricC Mar 29, 2008 - 79 Months Ago.  Viewed 6827 times



 Sort Answers: DateScore  Helpfulness Votes   
Javascript is a programming language that manipulates HTML on the browser. So the first step is to learn HTML, and how HTML is used to create each user interface element on a web page.
Here's a good reference: http://www.w3.org/TR/html401/index/elements.html

To program Javascript, all you need is a text editor to write Javascript. But the difference between a regular editor versus a good one is huge for productivity. NotePad++ is the best free editor for HTML and Javascript, with syntax colouring, code folding. Get it here: http://notepad-plus.sourceforge.net/uk/site.htm.

An even better choice is to get Microsoft's Visual Web Developer 2008 Express Edition, also free. You can use VWD to create HTML pages with Javascript, or optionally ASPX pages with C#. It has code-completion, which means it can tell you what variables and element names are avaiable, plus what properties are available for each element.

Expression Web is the best of all worlds. With code-completion (intellisense) for CSS Styles, and hover mouseover error messages and warnings, it makes all browser-side programming extremely simple. It even highlights mismatched html tags. (Note that Dreamweaver does not have Javascript code-completion.)

User Firefox as your browser, and get the Firebug add-on. Firebug allows you to see the Document Object Model (DOM), showing the relationship of all elements in a page. It also has a full Javascript debugger, allowing you to add breakpoints and single-step F10 through the code and inspect variable values.

Javascript is not a strongly-typed language. This means any variable can contain anything, including numbers, booleans, strings, null. The classical mistake is "2" + "3", which is "23", so beware. Other gotcha's include "55" < "100", and "55" == 55.

To get started, try viewing a source with getElementByById, and use that example to write your first program. Have fun!
Answered by: sherwin - 79 Months Ago.
 Add Comments 
The web is full of Javascript. How can you tell? There's lots of dynamic behavior. When you type or click, something changes on the web page.

So the best way to learn Javascript is to use Firebug, and see how other great programmers used Javascript to do these cool things.

Here's how you use Firebug:

* HTML tab - it has a great tree structure showing all the elements on your page. As you float over each HTML tag, the page "highlights". Cool?

* Script tab - you can see all the Javascript code here. And even use breakpoints to stop the code, inspect variables.

* What if the script is all mangled? You'll need to paste everything between the <script> tags into here: http://javascript.about.com/library/blformat.htm
Answered by: Major Tom - 79 Months Ago.
 Add Comments 
You want the best editor for Javascript? Komodo Edit!

http://www.activestate.com/Products/komodo_ide/komodo_edit.mhtml

(Disclaimer: not affiliated with them in any way. Love the software)
Answered by: Doug - 78 Months Ago.
 Add Comments 
W3schools gives detail explanation about javascript http://www.a1alimo.com/
Answered by: info.a1alimo@gmail.com - 32 Months Ago.
 Add Comments 
Tizag website help u in basics of javascript.... http://www.autodetaildoctor.com/
Answered by: info.autodetaildoctor1@gmail.com - 32 Months Ago.
 Add Comments 
3dmdesign site is the best site to beginner of javascript try the site.......http://www.rslfundingllc.com/
Answered by: info.rslfundingllc@gmail.com - 32 Months Ago.
 Add Comments 
Obwohl der Leichtigkeit der Plantage Leben geboren , wartete auf Hand und Fu? seit der Kindheit , die <a href="http://www.louisvuittonoutlet-max.com" title="Authentic Louis Vuitton">Authentic Louis Vuitton</a> Gesichter OFTHE drei auf der Veranda waren <a href="http://www.louis-vuitton.ca" title="Louis Vuitton Outlet">Louis Vuitton Outlet</a> weder locker noch weich. Sie hatten die <a href="http://www.newbalancefactory-outlet.com" title="new balance">new balance</a> Kraft <br />Gl??ck, letzte Nacht. Kurz bevor <a href="http://www.freerunsport.com" title="free run 2">free run 2</a> wir nach Hause kamen , dass neue <a href="http://www.alouisvuittonhandbags.us.com" title="Authentic Louis Vuitton Bags">Authentic Louis Vuitton Bags</a> Hengst Ma bekam in Kentucky lastmonth wurde <a href="http://www.michaelkorssoutletonline.net" title="Michael Kors Outlet">Michael Kors Outlet</a> gebracht , und der Platz war in <a href="http://www.nikeoutletstore-online.com" title="Nike Free 3.0">Nike Free 3.0</a> einem Eintopf. Der gro?e Brute- er ist <a href="http://www.truereligionoutletrst.com" title="true religion jeans">true religion jeans</a> ein <br />Witz , und Scarlett , <a href="http://www.christainloubutinshoesstore.com" title="Christian Louboutin Shoes">Christian Louboutin Shoes</a> die nicht freiwillig ge?ffnet hatte, ein Buch <a href="http://www.michaelkorsoutletonlinest.com" title="michael kors">michael kors</a> seit dem Verlassen des Fayetteville Female Academy <a href="http://www.nbajerseysonline-hot.com" title="cheap nba jerseys">cheap nba jerseys</a> im Jahr zuvor , dachte es genauso <a href="http://www.michaelkorsoutletonlinestores.com" title="michael kors outlet online">michael kors outlet online</a> amusingas sie taten. "Ich wei?, dass Sie <a href="http://www.new-balance-nb.com" title="new balance
Answered by: mmdr - 1 Month Ago.
 Add Comments 

How do I learn to program in Javascript? What are the best tools that the pro's use to program Javascript? - HelpGlobe.Tech.Info-Tech
 
About Legal Copyright 2007- Helpglobe.com Invite Contact