I'm a bit stumped as to how to approach this problem. I have a mail interface that shows message titles with a check box next to them which allows multiple messages to be deleted at once(very standard). But how can I do this AJAX style without a page refresh? Currently I just use a foreach $_POST['checkbox'] and loop through delete queries with PHP alone.
But I would like to use JS to grab all of the recordID's that need to be deleted and then somehow get them over to a php script.