Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    May 2005
    Thanked 0 Times in 0 Posts

    Question How to send the variable between 2 page ?

    sorry, I don't know how to explain me question.
    Let me show by this example.

    Process :
    1, a(A.html) send a variable to b(b.html). --> This is easy.
    (b is open by a, so a is parent. And the b is top up)

    2, when i finish the job in b. I will submit that. --> OK
    (when submit(), the window will close)

    3, Now the problem, how can i send back the info to parent(a or a.html) ???
    (Some think like auto refresh the a by b)

    Thank you

    I hope have a complete's source code.
    Last edited by sima; 05-30-2005 at 03:16 AM.

  2. #2
    Red Devil Mod Kor's Avatar
    Join Date
    Apr 2003
    Bucharest, ROMANIA
    Thanked 379 Times in 375 Posts
    you may send the information to page a before starting submisition from page b, by inserting a return conditioner.

    something like:

    <form onsubmit="return function(){parent.object.value=this.elements['elementname'].value}">
    Offshore programming


Posting Permissions

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