16.5. Concepts SummaryJavaScript is a scripting (interpreted) language that is similar to Java that can be used in HTML pages to generate the Web page and to respond to user interaction. You can declare variables, use loops, use conditionals, define and invoke functions in JavaScript. You can respond to user actions by assigning functions to events, like button pushes (onClick). You work with objects in JavaScript, like the document object. You define javascript functions inside of <script>...</script> tags in the header of the HTML page and then invoke these functions in the body of the page. |