Having a problem regarding bootstrap navbar.
I am placing the navbar code in every page or should I place the navbar code in a single file and access it in all pages?
Your question actually does not a question about bootstrap.
Since you are using the bootstrap, you must be using jQuery. You can use load() which is a function of ajax to do this.
load()
You can get the detail of the API here .load() | jQuery API Documentation
2.1m questions
2.1m answers
60 comments
57.0k users