I have two buttons on my 1st div which generates the table.
<input type="Button" value="Confirm" onclick="insRow()"/>
<input type="Button" value="Preview" onclick="openWin()"/>
I want the validation done on preview button. while the confirm button send the data generated by preview button to another div.
This data accumulates in 2nd div. And is then submitted to
servlet on submit.
<input type="Submit" value="Submit" />