0

I have an input that has no ID, and actually shares class with a lot of different elements that cannot be hiden, therefore the only tag that I can refer to it is the "name".

Can it be hidden with JavaScript?

<input data-vv-as="Minimum Price" name="wil-field-name-1609703229427" type="text" class="field_field__3U_Rt" aria-required="false" aria-invalid="false">

  • You'd be writing javascript to apply css but it's possible. – jbrahy Jan 03 '21 at 20:06
  • 2
    Does this answer your question? [JavaScript get element by name](https://stackoverflow.com/questions/10306129/javascript-get-element-by-name) – S. Walker Jan 03 '21 at 20:07
  • If all you need to do is hide, then this CSS should work just fine `input[name="wil-field-name-1609703229427"] { display: none; }` – sagar1025 Jan 03 '21 at 20:09

0 Answers0