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

Chapter 16. location > Example: Sending Information from One Page to Another

Example: Sending Information from One Page to Another

At Website Abstraction (http://www.wsabstract.com), one of the sites I contribute to, I've written a tutorial called “Sending objects from one page to another.” It continues to be one of the questions we get very frequently, so the lesson bears repeating. In Chapter 15, I discussed sending objects by framesets and by pop-up windows. In this chapter, I discuss using the location.search property.

Let's say you have a form that decides what data to send on. (Using a link is only slightly different.) In this example we just send the contents of an input box, but the principle is the same for other data. See Listing 16.2.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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