[Solved] How to make rowspan add 1 and new row added last with javascript jquery?
You can use jQuery’s .attr() to achieve what you want: Comments in code for js, – and also in your html, start your rowspan off as 2 (or the number of rows you start in your table) and get rid of the colspan in the second row – the rowspan handles the missing column $(‘#addPeople’).click(function … Read more