Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

passing variables from a popup to a parent window


w2e

Recommended Posts

Posted

Is it possible to pass variables from a (php) popup to a (php) parent window. I want to include a popup to select a city and then pass the result of the selection back to the main window.

This might be possible with javascript but I am not sure of the exact syntax and how the result could be picked up by the parent.

 

Thanks

Martin

Posted

The popup should be a form so just post the results to the parent window and add the appropriate processing code to the parent window.

"Great spirits have always found violent opposition from mediocre minds. The latter cannot understand it when a man does not thoughtlessly submit to hereditary prejudices but honestly and courageously uses his intelligence." - A. Einstein

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...