1

I have a button:

<input type="button" value="Browse Server" class="button">

And I would like to hide this button using jQuery or just assign him some css and hide it via CSS stylesheet. I guess I have to use .val(), but how to search all html document to find input elements with value "Browse Server"?

Thanks in advance.

1 Answer 1

3

This should work:

$('input[value="Browse Server"]').hide();
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.