I have a situation where I have created the html table which looks like below and I want to get the value in the Desired Count column for each component if its NOT equal to Current count or if it is null/zero.
For example, if I change Desired Count of A1 to 2, then my parameter should return that A1=2 so I can update that to proceed further steps in my Jenkins pipeline. Could somebody help
My Table looks like this
<html>
<head>
<style>
table, th, td {
border: 1px solid black;
text-align: center;
width: 40%;
border-collapse: collapse;
}
</style>
</head>
<table>
<tr>
<th>COMPONENT</th>
<th>CURRENT SCALE</th>
<th>DESIRED SCALE</th>
</tr>
<tr>
<td>A1</td>
<td>-1</td>
<td><input type='number' step='1' min='0' max='5'/></td>
</tr>
<tr>
<td>B1</td>
<td>1</td>
<td><input type='number' step='1' min='0' max='5'/></td>
</tr>
<tr>
<td>C1</td>
<td>-1</td>
<td><input type='number' step='1' min='0' max='5'/></td>
</tr>
</table>
</html>