skip to Main Content

Change value using CheckBox on table – Jquery ajax

I have this hbs code: <table> <tr> <th>A</th> <th>B</th> </tr> {{#each data2}} <tr> <td> <input type='checkbox' id='nm_produk' class='product' name='data_{{no}}' value="{{no}}"> <label>{{item}}</label> </td> <td> <input disabled type='text' placeholder='0' name='data_{{no}}' id='qtytbs'> </td> </tr> {{/each}} </table> And this script: $(document).ready(function() { $(".product").change(function() {…

VIEW QUESTION
Back To Top
Search