CHAPTER 1Introduction to JavaScript

JavaScript is the premier client-side scripting language used on the Web today. It’s widely used in tasks ranging from the validation of form data to the creation of complex user interfaces. JavaScript is the interactive member of the trinity of client-side Web technologies that also includes HTML and CSS, and as such, Web developers would be remiss not to master it. With mastery, there are few limits to how the language may be used online, as it can dynamically manipulate the very content, markup, and style of Web pages. This chapter serves as a brief introduction to the language and how it is included in Web pages.

Hello JavaScript World

Our first look at JavaScript is the ever-popular “Hello World” example. ...

Get JavaScript The Complete Reference, 3rd Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.