Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Macro substitution in javascript
Message
From
15/03/2002 14:12:19
 
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
00633553
Message ID:
00633568
Views:
25
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform