I'm a bit confused when checking if null or undefined and if I should be using !==
or !=
and "undefined" or undefined.
Here is some code I'm working on. Where am I going wrong with my null/unudefined etc?
var c = (jQuery(this).prop("target") != null && jQuery(this).prop("target") != undefined && jQuery(this).prop("target").toLowerCase() == "_blank") ? 1 : 0;
Thanks