javascript submit button reload code example
Example 1: how to make form not reload page
<form onsubmit="return false">
</form>
Example 2: halt button from submitting js
cell2.innerHTML = "<button type='button' class='remove-condition' onclick='removeCondition()'>X</button></td>";