[thelist] JavaScript: cannot assign to a function result

.jeff thelist at lists.evolt.org
Wed Mar 5 18:49:01 2003


seb,

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><
> From: Seb
>
> Try this:
>
> [snip]
>
>         eval(strGLCodeSub) = GetRadioValue(RadioGroup);
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><

that will fail because in javascript you can't have an eval() on the left
side of an assignment operator.

.jeff

http://evolt.org/

NOTICE:  members.evolt.org web and email address are changing!
---------------------------------------------------------------------
| OLD:                            | NEW:                            |
| jeff at members.evolt.org       | evolt at jeffhowden.com         |
| http://members.evolt.org/jeff/  | http://evolt.jeffhowden.com/    |
---------------------------------------------------------------------