JSFiddle - React, Tailwind, and code Playground
HTML
<input type="checkbox" name="checkbox" id="checkbox-all" value="">
<table>
<tr>
<td>
<input type="checkbox" name="checkbox-32" id="checkbox-32" value="" style="opacity: 0;" />
</td>
<td class="h_pincode">380059</td>
<td class="b_add2">Nr. Swatik Cross Road, Navrangpura</td>
</tr>
<tr>
<td>
<input type="checkbox" name="checkbox-34" id="checkbox-34" value="" style="opacity: 0;" />
</td>
<td class="h_pincode">380015</td>
</tr>
</table>
JavaScript
$(".all-checkbox").on("click", function () {
$('input[type=checkbox]').each(function (ind, val) {
$(this).prop('checked', "checked");
console.log(this.name + ' ' + this.value + ' ' + this.checked);
});
});