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 - 81 Months Ago.  Viewed 7044 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 - 81 Months Ago.
Commented by: oakleysunglasses - 3 Weeks 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 - 81 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 - 80 Months Ago.
 Add Comments 
W3schools gives detail explanation about javascript
Answered by: - 34 Months Ago.
 Add Comments 
Tizag website help u in basics of javascript....
Answered by: - 34 Months Ago.
 Add Comments 
3dmdesign site is the best site to beginner of javascript try the site.......
Answered by: - 34 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 - 3 Months Ago.
Commented by: oakleysunglasses - 3 Weeks Ago.
 Add Comments 
Answered by: - 1 Month Ago.
bewaffnet sein und nicht mit Gewehren ) , " Die ClaytonGrays , " " Das Blut und Musketensch??tzen "," The Rough and Readys ", alle hatten ihre Anh?nger . Untilmatters abgerechnet wurden ,
Hausdiener gewidmet. Mammy WASBLACK , aber ihre Verhaltenskodex und ihr Gef??hl von Stolz waren so hoch wie oder h?her als die der herowners . Sie hatte im Schlafzimmer von Solange Robillard ,
Louis Vuitton Handbags outlet />konnte nicht in der Liebe mit Melanie , da ach, sie nicht verwechselt werden k?nnte Louis vuitton outlet Louis Vuitton Bags Louis Vuitton Handbags Louis Vuitton purses Michael Kors handbags sale Michael Kors bags Michael Kors handbags on sale Michael Kors bags wholesale find cheap michael kors bag cheap Michael Kors bags online Michael Kors bags on sale cheap Michael Kors bags usa
widerwillig , in ein L?cheln auf theTwins vom Lernen ihr Geheimnis zu verhindern, ihren Mund tats?chlich verletzt . Sie setzte sich m??de und schob einen michael kors handbags Fu? unter ihr, und ihr Elend mit
die Spur asrelentlessly wie ein Bluthund eingestellt Kate Spade Online Sale Kate Spade Handbags Kate Spade New York Kate Spade New York kate spade new york kate spade store online kate spade outlet kate spade gucci bag gucci handbag gucci handbags gucci bags ttp:// kate spade kate spade bags kate spade  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