Results 1 to 2 of 2

Thread: Bring back variable from popup window
      
   

  1. #1
    pipesportugal's Avatar
    pipesportugal is offline Second Lieutenant
    Join Date
    Jul 2007
    Location
    Oporto - Portugal
    Posts
    129

    Default 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

  2. #2
    navaldesign's Avatar
    navaldesign is offline General & Forum Moderator
    Join Date
    Oct 2005
    Location
    Italy
    Posts
    12,115

    Default 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!


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49