hi i have some code like this and it dont work, don`t show error too!!
I think there must be prob with array elements beacuase when i use of id it work! but i need element name, is there any solution?!
$(document).ready(function() {
$("input[name=info[ind][3]]").change( function() {
$("input[name=info[ind][1]]").val((( parseInt($('input[name=info[ind][3]]:checked').val()) * 1 + parseInt($('input[name=info[ind][5]]:checked').val()) * 2 + parseInt(0)) / 2 ));
$("input[name=info[ind][1]]").trigger('change');
});
});
From jQuery:
Try the following (assuming the input name is
info[ind][3]):