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.

Chapter 6 How to get input and display output
How to get input 224
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 output 238
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




Murach's JavaScript and DOM Scripting

Learn more about this book

View the table of contents


More about the eBook



Our 100% Guarantee

First, try our books for 90 days. Then, if you aren't completely convinced that our books are the best ones you've ever used, you can return them for a prompt refund...no questions asked.