/ Published in: jQuery
Uso de map y function(i,n) Devueve un array valor1, valor2, ...
Expand |
Embed | Plain Text
var checkbox_opciones = $('#opciones input:checked').map(function(i,n) { return $(n).val(); }).get(); //get converts it to an array
You need to login to post a comment.
