JavaScript Editor Ajax toolkit     Ajax website 



Main Page

The code has an assignment operator as the conditional expression for a conditional statement. You may have intended to use an equality or strict equality operator.

To correct this error

  1. Change the assignment operator (=) to the equality operator (==) or the strict equality operator (===).

  2. Move the assignment to immediately precede the conditional statement, and then use the left operand of the assignment operator as the conditional expression.

See Also

Concepts

Troubleshooting Your Scripts

Other Resources

JScript Reference
JScript Conditional Structures



JavaScript Editor Ajax toolkit     Ajax website


©