Murach's JavaScript and DOM Scripting
How to get input and display output
Chapter 2 shows you simple techniques for getting data from and displaying information in a text box. Now, this chapter builds on that base and shows you more sophisticated techniques for getting an application to interact with a user.
|
|
|
|
How to get data from the prompt
method |
224 |
|
How to get a response from the
confirm method |
226 |
|
How to get the state of a radio
button |
228 |
|
How to get the state of a check
box |
230 |
|
How to get the selected option
in a select list |
232 |
|
How to get data from a text area |
234 |
|
How to use the methods and events
for controls |
236 |
|
|
How to display data in a span
tag |
238 |
|
How to set the state of a radio
button |
240 |
|
How to set the state of a check
box |
242 |
|
How to display data in a text
area |
244 |
|
|
|
|
|
|
© Copyright 1998-
Mike Murach & Associates, Inc. All rights reserved.
|