bladeMX
03-04-2004, 03:21 PM
When naming and giving values to defined variables with the LoadVars object are dashes forbidden?
Here is an example that works (no dash):
var obj = userComments;
obj.mailto = "mail";
This one does not (using dash):
var obj = userComments;
obj.mail-to = "mail";
How can I work around this? I can NOT change the 'mail-to' variables because it is already defined in the PERL script.
Any help?
:confused:
Here is an example that works (no dash):
var obj = userComments;
obj.mailto = "mail";
This one does not (using dash):
var obj = userComments;
obj.mail-to = "mail";
How can I work around this? I can NOT change the 'mail-to' variables because it is already defined in the PERL script.
Any help?
:confused: