# Hilfe bei der Einbindung eines geöffneten Suchfelds anstelle eines anklickbaren Symbols?

**URL:** <https://meta.discourse.org/t/help-on-putting-an-opened-search-box-instead-of-a-clickable-icon/49673>\
**Category:** Product Support\
**Created:** [3. September 2016 um 14:17 UTC](https://meta.discourse.org/t/help-on-putting-an-opened-search-box-instead-of-a-clickable-icon/49673 "2016-09-03T14:17:32Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Post date:** [4. September 2016 um 08:11 UTC](https://meta.discourse.org/t/help-on-putting-an-opened-search-box-instead-of-a-clickable-icon/49673/2 "2016-09-04T08:11:42Z")

</div>

so far i paste the search-bar code in the header:

```plaintext
<div class="panel-body">
    <div class="panel-body-contents clearfix">
    <input placeholder="جستجوی موضوعات، نوشته ها، کاربران یا دسته‌ بندی ها" value="" id="search-term" type="text">
        
        <div class="search-context">      
        <a title="گزینه ها" class="widget-link show-help">گزینه ها </a>
            <div class="clearfix">
            </div>
        </div>
    </div>
</div>

```

and now there exist a search panel in the header of the site, which needs some css of course.

**but more importantly it’'s non-functional.**

does anyone have any idea how to make it functional? what javascript code should i put there to call the search function of discourse?

---

_[View the full topic](https://meta.discourse.org/t/help-on-putting-an-opened-search-box-instead-of-a-clickable-icon/49673)._
