-2

On a page, how can I hide the containing the with the text "Product Tags"?

Rick Helston
  • 733
  • 3
  • 11
  • 20

1 Answers1

2
$('h2:contains("Product Tags")').hide();

See jquery find element by text and :contains()

Community
  • 1
  • 1
AmmarCSE
  • 30,079
  • 5
  • 45
  • 53