Using jQuery filter() to get all matched .val()
<p>I have a number of textfields and I need to select the values of those textfields whose values are not equal to their <code>title</code> attribute.</p>

<p><strong>Problem:</strong> With my attempt, the jQuery code below simply selects the value of the first matched textfield. How do I get all matched textfields' values?</p>

<p><strong>jQuery Code</strong></p>

<pre><code>var inputs = $(".input").filter(function() {
                return $(this).val() != $(this).attr('title');
            }).val();
console.log(inputs);
</code></pre>
