angel026,
<!DOCTYPE html>
<html>
<head>
<title>Untitled</title>
<meta charset="utf-8">
<script>
window.addEventListener('DOMContentLoaded', function() {
var check = document.querySelectorAll('.choose_check'),
check_url = document.querySelectorAll('.choose_check_url');
[].forEach.call(check, function(item, i) {
item.addEventListener('mouseover', function() {
check_url[i].checked = true
});
item.addEventListener('mouseout', function() {
check_url[i].checked = false
});
});
});
</script>
</head>
<body>
<label><input class="choose_check" id="cc_6" name="check[]" value="
cpu-test-22
CPU AMD-22
9002
₽
" onchange="getCheckedCheckBoxes()" type="checkbox"><input class="choose_check_url" id="cc_url_6" name="check[]" value="'.index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=13 &tmpl=component'" type="checkbox"></label>
<br>
<label><input class="choose_check" id="cc_6" name="check[]" value="
cpu-test-22
CPU AMD-22
9002
₽
" onchange="getCheckedCheckBoxes()" type="checkbox"><input class="choose_check_url" id="cc_url_6" name="check[]" value="'.index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=13 &tmpl=component'" type="checkbox"></label>
<br>
<label><input class="choose_check" id="cc_6" name="check[]" value="
cpu-test-22
CPU AMD-22
9002
₽
" onchange="getCheckedCheckBoxes()" type="checkbox"><input class="choose_check_url" id="cc_url_6" name="check[]" value="'.index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=13 &tmpl=component'" type="checkbox"></label></body>
</html>