$ 0 0 Hi Jacues, In JavaScript try to use ternary operator:(LogicalCondition) ? ValueIfTrue : ValueIfFalse Vadim