Skip to content

Commit 23bfd57

Browse files
committed
Add index terms to Chapter 19
1 parent b59dc85 commit 23bfd57

File tree

3 files changed

+399
-337
lines changed

3 files changed

+399
-337
lines changed

13_dom.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ To create regular element nodes (type 1), you can use the
334334
returns a new empty node of the given type.
335335

336336
[[elt]]
337-
The following example defines a utility `elt`, which creates an
337+
(((elt function)))The following example defines a utility `elt`, which creates an
338338
element node, and treats the rest of its arguments as children to that
339339
node. This function is then used to add a simple attribution to a
340340
quote.

18_forms.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -494,14 +494,14 @@ on Mac) to select multiple options.
494494

495495
== File fields ==
496496

497-
(((hard drive)))(((file system)))(((security)))(((file field)))(((input
498-
(HTML tag))))File fields were originally designed as a way to
499-
((upload)) files from the browser's machine through a form. In modern
500-
browsers, they also provide a way to read such files from JavaScript
501-
programs. The field acts as a manner of gatekeeper—the script can not
502-
simply start reading private files from the user's computer, but when
503-
a file has been selected in such a field, that is understood to mean
504-
that the script may read it.
497+
(((file)))(((hard drive)))(((file system)))(((security)))(((file
498+
field)))(((input (HTML tag))))File fields were originally designed as
499+
a way to ((upload)) files from the browser's machine through a form.
500+
In modern browsers, they also provide a way to read such files from
501+
JavaScript programs. The field acts as a manner of gatekeeper—the
502+
script can not simply start reading private files from the user's
503+
computer, but when a file has been selected in such a field, that is
504+
understood to mean that the script may read it.
505505

506506
A file field usually looks like a button labeled something like
507507
“choose file” or “browse”, with information about the chosen file next
@@ -601,12 +601,12 @@ so-called _blob_ object) to the file reader.
601601

602602
== Storing data client-side ==
603603

604-
Simple ((HTML)) pages with a bit of JavaScript can be a great medium
605-
for “((mini application))”—small helper programs that automate
606-
everyday things. By connecting a few form ((field))s with event
607-
handlers you can do anything from converting between degrees Celsius
608-
and Fahrenheit to computing passwords from a master password and a
609-
website name.
604+
(((web application)))Simple ((HTML)) pages with a bit of JavaScript
605+
can be a great medium for “((mini application))”—small helper programs
606+
that automate everyday things. By connecting a few form ((field))s
607+
with event handlers you can do anything from converting between
608+
degrees Celsius and Fahrenheit to computing passwords from a master
609+
password and a website name.
610610

611611
(((persistence)))(((memory)))When such an application needs to
612612
remember something between sessions, you can not use JavaScript

0 commit comments

Comments
 (0)