Here's what I have in my JS:
if ($('#submit').attr('value') == 'Save Changes'){
$('#submit').hide();
};
Is there a way to target an element by its Value in CSS, and then hide it if its value == something?
If not- Is there a way to make this code faster? I can see the Hide happening when I load the page.