counter
about us
 
Simply JavaScript | Kevin Yank, Cameron Adams | Error - JavaScript does not have associtative arrays
 
 


Suche books:   



 Simply JavaScript  

Simply JavaScript
Kevin Yank, Cameron Adams

SitePoint, 2007 - 424 pages

average customer review:based on 13 reviews
view larger image
 for more information click here

 



Everything you need to learn JavaScript from Scratch!

Packed with full-color examples, Simply JavaScript is a step-by-step introduction to programming in JavaScript the right way. Learn how easy it is to use JavaScript to solve real-world problems, build smarter forms, track user events (such as mouse clicks and key strokes), and design eye-catching animations. Then move into more powerful techniques using the DOM and Ajax. Learn JavaScript's built-in functions, methods, and properties. Easily integrate JavaScript in your web site. Use JavaScript to validate form entries and interact with your users. Understand how to respond to user events. Create animations that bring your web site to life. Start programming using the DOM and Ajax.

Unlike other JavaScript books, modern best practices such as progressive enhancement, accessibility and unobtrusive scripting are used from the very beginning. All the code in the book is also cross-browser compatible and downloadable for free, so you can get started instantly!


 for more information click here


Not the best for a complete beginner

The Sitepoint guys have great articles on their site and emails but I found this book very difficult to read. It didnt seem that the examples made sense, or flowed together to make sense.

As Im pretty new to JS, adding that to my php work, I really had a difficult time understanding all the syntax - and that is made more difficult by now having clear, easy to follow examples.

I cant and wont say that I wouldnt recommend this book because its not a bad book, I just feel that if you are as new to JS as I am, this might not be the best book to start with.


 for more information click here


Error - JavaScript does not have associtative arrays

These boys write in Chapter 2 that JavaScript has associative arrays but it is unfortunately a mistake. They show this snippet of code

var postcodes = [];
postcodes["Armadale"] = 3143;
postcodes["North Melbourne"] = 3051;
postcodes["Camperdown"] = 2050;
postcodes["Annandale"] = 2038;

and state that this is an array with 4 members. But unfortunately this array is empty, only has 4 properties. So, if you write

alert (postcodes.length);

you don't get 4, you get 0!


reviews: page 1, 2, 3



products you might be interested in




recommendations

Sitepoint Books




javascript


jQuery in Action
Programming Perl (3rd Edition)
JavaScript: The Definitive Guide
High Performance Web Sites: Essential Knowledge for Front-End ...
Essential ActionScript 3.0 (Essential) (Essential)



simply


Simply Scones: Quick and Easy Recipes for More than 70 Delicious ...
Simply Sublime Bags: 30 No-Sew, Low-Sew Projects
Simply In Season (World Community Cookbook)
The Complete Guide to Locating, Negotiating, and Buying Real Estate ...
Simply Delicious : 245 No-Fuss Recipes--All 8 POINTS or Less



search for books
simply javascript, javascript, simply



Google      toavi.com    web
books
apparel
baby
beauty
books
camera photo
classical music
computers
dvd
electronics
gourmet food
health personal care
kitchen
office products
outdoor living
computer video games
popular music
software
sporting goods
tools hardware
toys-games
vhs
watches jewelry







randomly chosen


book: Pyat' travm, kotorye meshayut byt' samim soboj