hi
i've got an array made after a selection of checkboxes and i want to
send this values to a php page to do some sql query.
i couldn't manage to pass the values via post and this is my function

var myFunction = function() {
                $("#cancellaRecord").click(function() {
                        if (confirm("sei sicuro di voler cancellare questi 
record?")){
                                arrayCheckBox = new Array;
                                arrayCheckBox = $("#selezionaCancella 
input:checked");
                                $.ajax({type: "POST",
                                        url: 
"effettuaCancellazioneMultipla.php",

                                        data: what should i write here??? how 
should i send my
arrayCheckBox values??

                                        success: function(){
                                                alert("success")
                                                }
                                });
                        } else {
                                alert("non cancellato");
                        }
                });
        }

Any idea?
thanks vitto

Reply via email to