How to negate code in "if" statement block in JavaScript -JQuery like 'if not then..' How to negate code in "if" statement block in JavaScript -JQuery like 'if not then..' jquery jquery