# Replace the Placeholder "Search" in the Search Bar

**URL:** <https://community.elfsight.com/t/replace-the-placeholder-search-in-the-search-bar/122759>\
**Category:** Pro Tips\
**Tags:** faq\
**Created:** [May 26, 2025, 12:27am UTC](https://community.elfsight.com/t/replace-the-placeholder-search-in-the-search-bar/122759 "2025-05-26T00:27:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sina](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/sina/32/59970_2.png) [@Sina](https://community.elfsight.com/u/Sina)\
**Post date:** [May 26, 2025, 12:27am UTC](https://community.elfsight.com/t/replace-the-placeholder-search-in-the-search-bar/122759/1 "2025-05-26T00:27:33Z")

</div>

Add this code to the Custom JS field on the Settings tab of your [FAQ](https://elfsight.com/accordion-faq-widget/) widget’s settings:

```auto
const interval = setInterval(() => {
  const input = document.querySelector('.eapps-faq-search-bar-input');
  if (input) {
    input.placeholder = "YOUR OWN TEXT";
    clearInterval(interval);
  }
}, 300);

```

---

<div class="post-metadata">

**Author:** ![Max](https://sea2.discourse-cdn.com/flex020/user_avatar/community.elfsight.com/max/32/710_2.png) [@Max](https://community.elfsight.com/u/Max)\
**Post date:** [September 15, 2026, 10:50am UTC](https://community.elfsight.com/t/replace-the-placeholder-search-in-the-search-bar/122759/2 "2026-09-15T10:50:01Z")

</div>

Split this topic on September 15, 2026, 10:50am UTC

A post was split to a new topic: [How to change the search placholder in Event Calendar](https://community.elfsight.com/t/how-to-change-the-search-placholder-in-event-calendar/174281)
