I want to enable/disable submit button based on my row table
Code:
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
<script type="text/javascript">
$('#mytable tr').each(function() {
if (!this.rowIndex) return; // skip first row
var customerId = this.cells[3].innerHTML;
alert(customerId);
});
</script>
if customerid ='failure';
disable submit button else enable. is this possible ?