On Dec 6, 8:31 am, Rafa³ Pocztarski <r.pocztar...@gmail.com> wrote: > 2009/12/3 shapper <mdmo...@gmail.com>: > Try using === instead of ==
This is PHP operator, isn't it? And we're talking here about javascript. Is there such operator in JS? O.o I'd rather write it like that: if( typeof(cookie) != 'undefined' && (cookie == null || cookie == 'Play') ) {}