For example, you can do this as follows:
First you should see if the checkbox is checked:
$("#yourSelector").live("click", function(){ var id = parseInt($(this).val(), 10); if($(this).is(":checked")) {
You can download specific content through Ajax:
$.ajax({ type: "POST", dataType: "xml", url: "path/to/file.php", data: "function=loadContent&id=" + id, success: function(xml) {
Sarah west
source share