• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
enable/disable submit button based on my row table value

#1
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 ?
Reply


Messages In This Thread
enable/disable submit button based on my row table value - by kvanaraj - 10-05-2018, 03:55 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.