$('input:checkbox').click(function(){ AjaxFormRequest('result_id','form_id', '/pages/group/form.php?shag=1'); });