I’m learning jQuery and have a question on how to hide the submit button if any of the table shows ‘Error’
This is what I’ve written thus far but not sure what I’m doing wrong. Thanks in advance!
<script type="text/javascript">
$(document).ready(function () {
$('table').highlight("Error");
if ($('table').contains('Error')) {
$("#ProcessReshop").hide();
}
});
Try this, Demo of JsFiddle