Problem with HTMLInputElement in jquery
<p>This code is giving me objecxt.HTMLInputElement in jquery                                               </p>

<pre><code>var values = $('input[name=delete]:checked').each(function(i, selected) {
                                                return $(selected).attr('value');
                                                }).get().join(",");
</code></pre>

<p>What is the problem ? </p>
