Not Equal To notation in Javascript to use in jQuery

Posted by Jean on Stack Overflow See other posts from Stack Overflow or by Jean
Published on 2010-04-28T08:49:09Z Indexed on 2010/04/28 8:53 UTC
Read the original article Hit count: 395

Filed under:
|

Hello,

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

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery