Answer the question
In order to leave comments, you need to log in
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
You can comment out the call to the closeSearch() function, after which the search string will no longer disappear.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question