0

I have some html that I can't change the output for and need to hide the input element and text that is near the element. Example:

<div id="outerdiv">
  some text
  <input name="inputname1"></input>
  hide this text
  <input name="hide_this_element"></input>
</div>

I'd like to hide the input named "hide_this_element" and the nearby text "hide this text". How do I target the text near this element?

TheEagle
  • 5,808
  • 3
  • 11
  • 39
alrightgame
  • 341
  • 2
  • 7
  • 20

0 Answers0