jquery each() function not working as intended
<p>I'm trying to loop through all the inputs in my form and if the input does not contain a value, then do a couple of things. </p>

<p>Here's my code so far,</p>

<pre><code>$('input').each(function() {
    if($(this+'[value!=""]')) {
        $('.requiredMark').hide();
        $(this).after(checkMark);   
    }       
});
</code></pre>

<p>What am I doing wrong? Thank you </p>
