[Javascript] Transfer Data from one HTML page to another HTML page

Chris Tifer christ at saeweb.com
Thu Jul 10 07:37:44 CDT 2003


First, use a form to submit the data to the next page, 
then you can read through the URL's search property (I 
believe that's the one you're looking for) to view the 
parameter.

I wouldn't use JavaScript for this. Why is that a requirement?

Chris Tifer
http://emailajoke.com

  ----- Original Message ----- 
  From: raprolena joseph 
  To: javascript at LaTech.edu 
  Sent: Wednesday, July 09, 2003 4:42 PM
  Subject: [Javascript] Transfer Data from one HTML page to another HTML page


  Hi
  How can we transfer data from one control (text box) in a html page to the another control in the next html page using JavaScript.

  Ralph

  javascript-request at LaTech.edu wrote:
    Send Javascript mailing list submissions to
    javascript at LaTech.edu

    To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.LaTech.edu/mailman/listinfo/javascript
    or, via email, send a message with subject or body 'help' to
    javascript-request at LaTech.edu

    You can reach the person managing the list at
    javascript-owner at LaTech.edu

    When replying, please edit your Subject line so it is more specific
    than "Re: Contents of Javascript digest..."


    Today's Topics:

    1. Re: If a string contains many ' and " and \" (Andrew Gibson)
    2. Re: If a string contains many ' and " and \" (Chris Tifer)


    ----------------------------------------------------------------------

    Message: 1
    Date: Wed, 9 Jul 2003 11:04:44 +1200
    From: "Andrew Gibson" 
    Subject: Re: [Javascript] If a string contains many ' and " and \"
    To: "[JavaScript List]" 
    Message-ID: <008101c345a5$52ce5480$03e7adcb at k1n8i8>
    Content-Type: text/plain; charset="iso-8859-1"

    As an aside I was stuck with a similar problem, how to deal with the
    following string

    str="Try the "following" folder: d:\"this folder "

    I can replace " with \" for the normal " within the string but to save to
    d:\" I couldn't just add a \ to make it d:\\" it would only work when I
    made it d:\\\"

    Andrew Gibson




    ------------------------------

    Message: 2
    Date: Wed, 9 Jul 2003 08:38:30 -0400
    From: "Chris Tifer" 
    Subject: Re: [Javascript] If a string contains many ' and " and \"
    To: "[JavaScript List]" 
    Message-ID: <00fa01c34617$00eb7950$f10110ac at saweb.lcl>
    Content-Type: text/plain; charset="iso-8859-1"

    Right - you couldn't just add a single \ becuase the first \ you
    add was for the "\" before the quote.

    You're really escaping 2 characters here. The \ and the "

    So look at it like:

    \\ and \"

    Which put together is:

    \\\"

    Chris Tifer


    ----- Original Message -----
    From: "Andrew Gibson" 
    To: "[JavaScript List]" 
    Sent: Tuesday, July 08, 2003 7:04 PM
    Subject: Re: [Javascript] If a string contains many ' and " and \"


    > As an aside I was stuck with a similar problem, how to deal with the
    > following string
    >
    > str="Try the "following" folder: d:\"this folder "
    >
    > I can replace " with \" for the normal " within the string but to save
    to
    > d:\" I couldn't just add a \ to make it d:\\" it would only work when I
    > made it d:\\\"
    >
    > Andrew Gibson
    >
    >
    >
    > _______________________________________________
    > Javascript mailing list
    > Javascript at LaTech.edu
    > https://lists.LaTech.edu/mailman/listinfo/javascript


    ------------------------------

    _______________________________________________
    Javascript mailing list
    Javascript at LaTech.edu
    https://lists.LaTech.edu/mailman/listinfo/javascript


    End of Javascript Digest, Vol 5, Issue 7
    ****************************************

------------------------------------------------------------------------------
  Do you Yahoo!?
  The New Yahoo! Search - Faster. Easier. Bingo.


------------------------------------------------------------------------------


  _______________________________________________
  Javascript mailing list
  Javascript at LaTech.edu
  https://lists.LaTech.edu/mailman/listinfo/javascript
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20030710/af2e018e/attachment.htm>


More information about the Javascript mailing list