Me need set item checkbox when i click on element span which have this checkbox.
Code:
First of all, do you want a checkbox or a radio input? Your code is a radio input.
Here is a jsfiddle showing what you require
You need the following javascript:
$('span').click(
function() {
var cb = $(this).find(":radio")[0];
if (!$(cb).attr("checked")) {
$(cb).attr("checked", "checked");
} else {
$(cb).removeAttr("checked");
}
}
);
$('span input').click(
function(event){
event.stopPropagation();
});