I am trying to read checkbox values using jquery .map like below:
var cars=$("#carsid input[name=car]:checked").map(function(){
return $(this).val();)).get().join(',');
But above code throwing length is null or not an object.I dont understand,what is the issue here.Can anyone give hints?
Regards,
Raj