Radio Button, Text Area and Input check
<p>I have a form with all the input fields as class <code>item</code>. When I click submit, it checks, with the following function if all values are filled in.</p>

<pre><code>$.each($(".items"),function(i,e){
    // loop through all the items
    if(e.value == "" || !$("input[name='"+e.name+"']:radio:checked").length)
        if(error.indexOf(e.title) === -1)
            error += e.title + "&lt;br/&gt;";
    });
</code></pre>

<p>This form comprises of text areas, radio boxes and normal text input fields. It returns all the radio boxes not filled in, as well as all the text inputs not filled in. But then it also returns ALL the text areas, regardless of whether it's filled in or not.</p>

<p>I first thought it was because I specified it to check the value, but it seems the value check does in fact check text areas, so it can't be that.</p>

<p>Could anyone assist me in making it return only empty elements?</p>
