Summary

JavaScript is an interpreted language that works within HTML code to activate Web pages. Not only can JavaScript manipulate objects on the screen by changing the objects'properties, it can also interact with the user through forms by controlling and inspecting controls such as text boxes, lists, and command buttons. The object-oriented nature of JavaScript objects makes working with most onscreen objects relatively simple because of the predefined set of methods from which you can choose.

  • The JavaScript code comes from the Web server with the Web page that is stored in HTML.

  • JavaScript code executes on the user's computer and responds to the user's actions.

  • As with Visual Basic, a JavaScript scriptlet executes code stored in event procedures. ...

Get Absolute Beginner's Guide to Programming, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.