SitePoint Sponsor

User Tag List

Results 1 to 6 of 6

Hybrid View

  1. #1
    SitePoint Member
    Join Date
    Feb 2000
    Location
    Seattle,WA
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    HELP! How do I post text from one page to another, while online. I want to create a template page that I can input text into it and it updates a box of text on another page. Any tutorials or ideas as to how this is done??

  2. #2
    SitePoint Member
    Join Date
    Dec 1999
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You can always use a news script from http://www.cgi-resources.com/

    you can find one there. you should choose newspro though because it is the best.\

    David

  3. #3
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi,

    Do you mean:

    document.formname.fieldname.value = opener.document.formname.fieldname.value;

    where opener is the window that opens the 2nd page?

    Vinny

  4. #4
    SitePoint Member
    Join Date
    Feb 2000
    Location
    Seattle,WA
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    What I mean is-I am creating a page that is going to have several small boxes (like little billboards)all over it, and I want to be able to create template pages that I can input text into that will appear in the little boxes that are on another page. So I am trying to figure out where to begin-is this a cgi-script or can it be done in html??
    Thanks for any and all help!!

  5. #5
    ********* Addict
    Join Date
    Feb 2000
    Location
    NE FL, USA
    Posts
    301
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try using SSI. For more information on how to use SSI's, take a look at this article. I hope this helps.

    Mike

    ------------------
    Street Bikers United protecting the rights of motorcyclists worldwide.
    Cosmic Custom Airbrush - Hawaii's premier airbrush studio.

  6. #6
    SitePoint Guru Vincent Puglia's Avatar
    Join Date
    Feb 2000
    Location
    where the World once stood
    Posts
    700
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi MissDiva,

    if you look at my previous post, you see that the second page is getting its data from the first page (the opener)
    insofar as can it be done in HTML -- see the first post.
    if you are not simply swapping textbox values back & forth, you could still get the info from the "opener" and then document.write() the values. You can also use prompts to retrieve data. You can store the data in cookies and then repost the page without reasking the questions.
    is it easier with cgi? not necessarily; it's just more permanent.
    see www.htmlgoodies.com for a good javascript primer

    Vinny

    ------------------
    GrassBlade: cut&paste javascript


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •