I am using the below code to change a class name of a button. However, I only want to do this for one button with the text 'Upload' and not another button that says 'Upload Database'.
Is it possible to change this from a 'Contains' to an exact match only?
<script> $( ".sitebutton:contains('Upload')" ).addClass('siteButton2').removeClass('sitebutton'); </script>