A
A
Andrey Reshetov2018-03-07 22:56:08
css
Andrey Reshetov, 2018-03-07 22:56:08

How to make a dropdown search in the menu?

I have a menu with a search and I need to make a drop-down search for it (when a button is clicked). Here is the code for this menu https://jsfiddle.net/Renzi0n/kwagvz2z/ . Tried different ways, does not help.
And yes, in js and jq is not particularly strong.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
twobomb, 2018-03-07
@Renzi0n

$(document).ready(function() {
  $(".button-search").click(function() {
    $(".form-search").toggle();
  });
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question