jQuery if not exist

Posted by Happy on Stack Overflow See other posts from Stack Overflow or by Happy
Published on 2010-06-14T20:30:24Z Indexed on 2010/06/14 20:32 UTC
Read the original article Hit count: 355

Filed under:
|

This means "if exist"

if($.cookie("movies_list")) {
// do something
}

How to write "if not exist" without changing the structure?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about cookies