Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Fancy javascript manipulation
Message
From
14/10/2001 02:09:06
 
 
To
14/10/2001 01:27:47
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00568245
Message ID:
00568254
Views:
22
Michel,

Maybe you need to initialize a var in the GoGetValue function, always named the same, and set your return value in the new window to the var instead of trying to put it directly into the form field. I think you can reference the var with
window.opener.varname=whatever
Then, in the GoGetValue function, set the field value to the var value. You could optionally pass in a field reference to the function, which could be called like
GoGetValue(document.MyForm.NoMember)
leaving the function generic. The function then would be:
function GoGetValue(theField)
{
  returnValue = ''; 
  window.open("MyUrl");
  theField.value = returnValue;
}
NOTE: I have not tested this, but in theory it should work. My apologies if the syntax is slightly off...
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform