guys,
I can't seem to find any info on how to pass a list of checked checkboxes through POST method of ajax.
Unlike traditional forms, when you submit a button, a list of selected checkboxes with the same name will allow you to retrieve it at the server side (php in my case).
IS this the only way?
param = "selecteditem = " + document.myform.item[0].value;
param+ = "&selecteditem = " + document.myform.item[1].value;
param+ = "&selecteditem = " + document.myform.item[2].value;
Can there be any other ways so that i won't have to manually append each value to the same variable before posting the data?