![]() |
appending checkbox in a html table and save to database - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: appending checkbox in a html table and save to database (/showthread.php?tid=71301) |
appending checkbox in a html table and save to database - monperiabras - 07-30-2018 I am just new in this using javascript and I am having a hard time in appending a value from a checkbox to a table cell with a inputbox inside. When I check one of the checkbox(fee_type/month) the table is populated by all the fee types from the data base and plus the the amount table must be populated in the amount and penalty table(please see attached image of the actual view form)... please help me with this problem. Thank you very much in advance. My form View PHP Code: <div class="form-group"> My Javascript Code: <script type="text/javascript"> In this screenshot shows that when i click upon enrollment its append all the month instead of appending only the checked month and the amount and the penalty is not appending on the amount and penalty column ![]() |