Skip to main content
  • 1104 Accesses

Abstract

This book is about a scripting language called JavaScript and how to use it in a practical manner. After you read it, you’ll be able to

  • Understand JavaScript syntax and structures.

  • Create scripts that are easy to understand and maintain.

  • Write scripts that do not interfere with other JavaScripts.

  • Write scripts that make web sites easier to use without blocking out non-JavaScript users.

  • Write scripts that are independent of the browser or user agent trying to understand them—which means that in some years they will still be usable and won’t rely on obsolete technology.

  • Enhance a web site with JavaScript and allow developers without any scripting knowledge to change the look and feel.

  • Enhance a web document with JavaScript and allow HTML developers to use your functionality by simply adding a CSS class to an element.

  • Use progressive enhancement to make a web document nicer only when and if the user agent allows for it.

  • Use Ajax to bridge the gap between back end and client side, thus creating sites that are easier to maintain and appear much slicker to the user.

  • Use JavaScript as part of a web methodology that enables you to maintain it independently without interfering with the other development streams.

What you will not find here are

  • Instructions on how to create effects that look flashy but do nothing of value for the visitor

  • JavaScript applications that are browser specific

  • JavaScripts that are only there to prove that they can be used and do not enhance the visitor’s experience

  • JavaScripts that promote unwanted content, such as pop-up windows or other flashy techniques like tickers or animation for animation’s sake

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 39.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

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Christian Heilmann

About this chapter

Cite this chapter

(2006). Getting Started with JavaScript. In: Beginning JavaScript with DOM Scripting and Ajax. Apress. https://doi.org/10.1007/978-1-4302-0184-7_1

Download citation

Publish with us

Policies and ethics