I'm trying to create a list of items that can be checked and when so, an ajax call is made to update the database based on an ID passed to the php page.
I have the start of the javascript, but have no idea how to pass in the info to the php page. Can anyone help?
PHP Code:
$("input:checkbox").change(function() {
if(this.checked) {
alert('checked');
}
if(this.checked==false) {
alert('done');
}
});