Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Macro substitution in javascript
Message
De
15/03/2002 14:12:19
 
Information générale
Forum:
Internet
Catégorie:
Javascript
Divers
Thread ID:
00633553
Message ID:
00633568
Vues:
24
>Anyone know how to do macro substitution in javascript?
>
>I've got a webpage at http://www.shelbynet.com/javascripttest.htm that should give a clue as to what I'm trying to accomplish.

If I got the clue right, then I think you should produce the form elements through a loop. Basically:
< script language="Javascript" >
for (var iloop = 1; iloop < 6; iloop++){
  document.write([ form elements, iloop value can be used to create dx variables ]);
  ...
}
< /script >
But to keep this thread on topic, you could let VFP build the html document prior to upload it (reading the various selectable options from a table, for instance).
----------------------------------
António Tavares Lopes
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform