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
1.4m articles
1.4m replys
5 comments
57.0k users