Jump to content

Focus on Input of a Popup Search


m_hutchins

Recommended Posts

I come to you with another yet different focus on input issue.

I have a little search form that pop's up with an icon is clicked. I'm trying to get the input to be active when it pops up.

Here's the code I'm using for the search form:

    <div class="search-3" >
                      <a class="search-btn not_click" href="javascript:void(0);">Search Button</a>
                        <div class="search-3-box not-click">
                            <form action="" method="get" id="theFormID">
                                   <input id="searchbar2" type="text" class="not-click" placeholder="Search" value="" name="s">
                            </form>
                         <i class="fa fa-search"></i>
                     </div>
                </div>

The site is here:

http://matdevsite.oiw11.com/

I'm a newbie, please help!

Thanks in advance,
mh

Edited by m_hutchins
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...