cancel form action code example
Example 1: halt button from submitting js
cell2.innerHTML = "<button type='button' class='remove-condition' onclick='removeCondition()'>X</button></td>";
Example 2: javascript do not submit form
alert("hello world");
alert("it is a test");