3: JavaScript and Processing a Simple form Processing

Programming for the Web - From Soup to Nuts - Implementing a Complete GIS Web Page · LibreTexts

0%

Contents

    Text

    Size
    100%
    Theme
    Typeface
    Line length
    Spacing

    From LibreTexts, under CC BY, as the source states it; its equations are written in TeX, which the PDF shows typeset. This page at LibreTexts.

    3: JavaScript and Processing a Simple form Processing

    This chapter will cover JavaScript with the goal of processing the simple form created in Chapter 2. Programmers from other languages will recognize most of the material in this chapter, as procedural programming in JavaScript is the similar to other languages C derived languages. Even the material on events, lambda functions, IIFE, and functional programming will have analogues to concepts that students will have already studied.

    The chapter will also include an introduction to JQuery, mostly to replace functions like document.getElementById or to introduce the $(document).ready() function. The goal in this chapter is to treat JQuery as a way to short cut examples. The more important reason to introduce JQuery is it is often treated as if it is part of the base JavaScript language. When looking for JavaScript examples online the examples will use JQuery in the examples and to understand these examples some simple JQuery knowledge is useful.

    The goal of this chapter is to become familiar with basic JavaScript syntax and to begin learning how to structure programs in JavaScript. Future chapters will continue to cover JavaScript objects and how to abstract applications that will be used in the mapping applications this book will present.


    This page titled 3: JavaScript and Processing a Simple form Processing was last modified on Tue, 01 Dec 2020 03:47:55 GMT and is shared under a CC BY license and was authored, remixed, and/or curated by Charles W. Kann (The Cupola: Scholarship at Gettysburg College) .