Not Equal To notation in Javascript to use in jQuery
javascript, jquery
Solution
Equality testing in JQuery works no different from "standard" JavaScript.
`!=` means "not equal to", but `!==` makes sure that both values have the same type as well. As an example, `1 == '1'` is `true` but not `1 === '1'`, because the LHS value is a number and the RHS value is a string.
Given your example, we cannot really tell you a lot about what is going on. We need a real example.
Problem
Is this the notation to use for Not Equal To in JS, in jquery code ``` !== OR != ``` None of them work Here is the code I am using ``` var val = $('#xxx').val(); if (val!='') { alert("jello"); } ``` Thanks Jean