Bring back variable from popup window

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • pipesportugal
    Second Lieutenant

    • Jul 2007
    • 130

    Bring back variable from popup window

    Hello Dear Colleagues from the VH forum,

    On the main page, the user clicks on a button and he jumps to a popup window that will read a database/table and will list the customer on the table as follows;

    code | Name | City
    0004 | AAAAAAA | Lisbon
    0001 | BBBBBBB |Braga
    0003 | HHHHHH | Lisbon
    0002 | MMMMM |Braga

    I would like to click on the code number of the customer and to bring back to the original page this clicked number. How can I do that?

    The same also with a "List Products" popup.

    Thanks in advance for all the help,
    pipesportugal
  • navaldesign
    General & Forum Moderator

    • Oct 2005
    • 12080

    #2
    Re: Bring back variable from popup window

    Link the number (in the popup) to the main page (using a "_parent" link ) and refreshing the page . Use the GET method to pass the value to the main page, and also attach a onclick function to close the popup.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment

    Working...
    X