my question is if you can place more than one id in an input because I have a function in javacript that I send it to call in the id of an input type text but in that input I also have to have the id with the variable in my database. where the data will be inserted.
this is the input code:
<td>
<h5>Avance 1:</h5>
</td>
<td>
<input type="text" name="CONTRATO" id="total" size="5" value="<%= rs.getString(5) %>" disabled="0">
</td>
the name of my Javascript function is total
and the variable in my database is called contrato
How could I do it in that case?