I have code something like that
<input type="text" name="item_qty[0]">
<input type="text" name="item_qty[1]">
<input type="text" name="item_qty[2]">
<input type="text" name="item_qty[3]">
and I want to specify by JQuery which input from the array has been changed (0,1,2,3) and get its value.
I tried the below code but I couldn't complete it I need to get the array key ($i) and the input value .
<SCRIPT LANGUAGE="JavaScript">
$(document).ready(function() {
$('input[name=item_qty[$i]]').change(function(){
});
});
</SCRIPT>