How to change the name of input checkbox with jQuery?
I tried :
$('input[name="INPUT_NAME"]').prop('name', 'INPUT_NAME['+ id +']');
$('input[name="INPUT_NAME"]').attr('name', 'INPUT_NAME['+ id +']');
Note : i absolutely need to get INPUT_NAME with [ID] to tag it and make difference between multiple same input checkbox inside the same form.
Thanks for your help!