How to get selected row values from a dynamic html table using JQuery?
问题 I have a html table dynamically populated from a database using laravel framework. I have put a checkbox in the row header and a Save Entry button. I want to get only the checked row values of the table including the footer of the table which indicate the calculation summary. something like this: arrbreakdown = []; //push here the checked row values. arrsummary = []; //push here the calculation summary. Reproducible example: <table class="table table-bordered" id="purchasetable"> <thead> <tr>