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

Chapter 2. Start Me Up! > Writing with Loops

Writing with Loops

Sometimes you'll want to get information out of JavaScript objects and display them to the user. Using JavaScript to write the user's Web page on the fly is a useful technique, one you'll find yourself using often. In this example (Script 2.12), you'll use a loop to display all of the plug-ins installed in your browser, and write a list of them out to the browser window.

Script 2.12. You can use loops to step through javascript objects and write to the browser window.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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