Mr J
08-19-2002, 10:47 PM
Having two popup windows and a main window how is it possible to tranfer data from the main window into the popups and possibly from the popups to the main window.
|
||||
Data Transfer Between WindowsMr J 08-19-2002, 10:47 PM Having two popup windows and a main window how is it possible to tranfer data from the main window into the popups and possibly from the popups to the main window. beetle 08-19-2002, 10:48 PM Depeding on the type/nature/quantity of data, you have limited options. Using cookies may be the best way. What are you trying to accomplish? Mr J 08-19-2002, 10:51 PM I require that the results from a number generator are viewed in a popup beetle 08-19-2002, 10:54 PM Well, if you are calculating the value in opener, you can pass the value to the popup with the query string (or search string)var randNum = Math.floor(Math.random() * 100); // Or whatever var nUrl = 'popup.htm?' + randNum; window.open(nUrl,'',''); then, in the popup, get the number like thisvar randNum = parseInt(top.location.search.substring(1)); Mr J 08-19-2002, 10:58 PM I will work on that. Thank You :thumbsup: |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum