1

I want to hide "Other value " in sharepoint refinament web part using jquery.Please fine thebelow screenshot for the same. If i use ID "Other value every text get's changed"

enter image description here

  • Not clear about question, you want to hide "other Value" div but not able to do using Jquery. Please post your code to hide the element – vinit kumar Oct 15 '18 at 13:51
  • Yes i want to hide "Other Value "div for all the refineries – santosh kondapalli Oct 15 '18 at 13:57
1

According to the HTML elements in your screenshot, add a Content Editor WebPart or Script Editor WebPart to the page and add the following CSS rule to hide the "Other Value" link.

<style type="text/css">
    .ms-ref-unselSec #OtherValue {
        display: none;
    }
</style>
1

If the requirement to hide that div is only relevant on a few pages the content editor approach makes sense. However if it should apply of multiple pages I'll suggest that you make a custom search refiner template

  • Not sure which display template the word "Other value " template contains.. – santosh kondapalli Oct 15 '18 at 15:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.