I have a set of checkboxes (around 50) and when the user checked one or more I need to get checked checkboxes' IDs into a javascript array.
And then I need to pass them through a URL (an ajax get request), and then get those values to PHP array...
Here's what I have done so far..
$(document).ready(function(){
$(".rrrr").click(function(){
var id = $(this).attr('id');
$("#page").load("ajax_file.php?t_id="+id)
});
});
This way, I can get and pass only one checkbox ID. How to get many values to an array ? And pass that array in the Ajax get request ?