javascript check for not null

It’s because val is not null, but contains 'null' as a string.

Try to check with ‘null’

if ('null' != val)

For an explanation of when and why this works, see the details below.

Leave a Comment

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