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 - 80 Months Ago.  Viewed 6860 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:

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:

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 - 80 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:
Answered by: Major Tom - 79 Months Ago.
 Add Comments 
You want the best editor for Javascript? Komodo Edit!

(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
Answered by: - 33 Months Ago.
 Add Comments 
Tizag website help u in basics of javascript....
Answered by: - 33 Months Ago.
 Add Comments 
3dmdesign site is the best site to beginner of javascript try the site.......
Answered by: - 32 Months Ago.
 Add Comments 
Obwohl der Leichtigkeit der Plantage Leben geboren , wartete auf Hand und Fu? seit der Kindheit , die <a href="" title="Authentic Louis Vuitton">Authentic Louis Vuitton</a> Gesichter OFTHE drei auf der Veranda waren <a href="" title="Louis Vuitton Outlet">Louis Vuitton Outlet</a> weder locker noch weich. Sie hatten die <a href="" title="new balance">new balance</a> Kraft <br />Gl??ck, letzte Nacht. Kurz bevor <a href="" title="free run 2">free run 2</a> wir nach Hause kamen , dass neue <a href="" title="Authentic Louis Vuitton Bags">Authentic Louis Vuitton Bags</a> Hengst Ma bekam in Kentucky lastmonth wurde <a href="" title="Michael Kors Outlet">Michael Kors Outlet</a> gebracht , und der Platz war in <a href="" title="Nike Free 3.0">Nike Free 3.0</a> einem Eintopf. Der gro?e Brute- er ist <a href="" title="true religion jeans">true religion jeans</a> ein <br />Witz , und Scarlett , <a href="" title="Christian Louboutin Shoes">Christian Louboutin Shoes</a> die nicht freiwillig ge?ffnet hatte, ein Buch <a href="" title="michael kors">michael kors</a> seit dem Verlassen des Fayetteville Female Academy <a href="" title="cheap nba jerseys">cheap nba jerseys</a> im Jahr zuvor , dachte es genauso <a href="" title="michael kors outlet online">michael kors outlet online</a> amusingas sie taten. "Ich wei?, dass Sie <a href="" title="new balance
Answered by: mmdr - 2 Months 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- Invite Contact