Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fancy javascript manipulation
Message
De
14/10/2001 02:09:06
 
 
À
14/10/2001 01:27:47
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00568245
Message ID:
00568254
Vues:
23
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform