How to create an empty jQuery result [duplicate]

Yep. Try $([]). The reason $() doesn’t work is because that jQuery expects a context, and without any supplied, will default to document as the context. Many things depend on this assumption being true, so changing $() to mean “give me the empty set” would be problematic at best.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)