jquery .map function
<p>I am trying to read checkbox values using jquery .map like below:</p>

<pre><code>var cars=$("#carsid input[name=car]:checked").map(function(){

return $(this).val();)).get().join(',');
</code></pre>

<p>But above code throwing length is null or not an object.I dont understand,what is the  issue here.Can anyone give hints?</p>

<p>Regards,</p>

<p>Raj</p>
