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. Any guidance would be greatly appreciated.
you could try passing an array parameter to your javascript function ... that same array should be used in php to process the deletion of records ... then the callback should be able to remove from display those that have been checked.