C
C
Canis_Lupus2019-12-20 17:18:53
JavaScript
Canis_Lupus, 2019-12-20 17:18:53

How to set up search in navbar (bootstrap)?

There is a code - https://codepen.io/User4670/pen/oNgZMPq
When you click on the search icon, a search bar appears on top of the menu. Please tell me how to make it so that when you enter a query and click search, this line remains with the entered (current) query, and is not reset?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Semenov, 2019-12-20
@wemonsh

You can comment out the call to the closeSearch() function, after which the search string will no longer disappear.
5dfce066895ef987311310.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question