• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 8. Making Your Pages Dynamic > Writing Text into a Document on the Fly

Writing Text into a Document on the Fly

Being able to write information into a Web page in response to a user action is a good trick that you'll find many uses for. In the example shown in Figure 8.8, there is a calendar with underlined dates (the underlines are, of course, links). Clicking on an underlined date makes the events for that date show up in the text box next to the calendar. Script 8.8 shows you how it is done.

Figure 8.8. Clicking a link on one of the days writes the day's events into the text box.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint