Skip to main content

Make Web Pages Do Something Using JavaScript

  • Chapter
  • First Online:
Java EE Web Application Primer


JavaScript is the language of the browser. It is an object-oriented programming language. Although JavaScript looks much like Java (because both were based on C and C++), it is not at all related. JavaScript is often used to programmatically interact with an HTML page. It does this by interacting with the DOM (document object model. JavaScript is supported by all major browsers.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

USD 19.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 24.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations


Rights and permissions

Reprints and permissions

Copyright information

© 2017 Dave Wolf, A.J. Henley

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Wolf, D., Henley, A.J. (2017). Make Web Pages Do Something Using JavaScript. In: Java EE Web Application Primer. Apress, Berkeley, CA.

Download citation

Publish with us

Policies and ethics