I recently updated my bootstrap to the latest version through the NuGet Package Manager and my Javascript is not working anymore. Before the update, the JavaScript on my web forms was working. The sidebar navigation could be closed and opened freely but
since I updated the bootstrap, it has not been working again. Another issue is that I don’t know the previous version of bootstrap I had before the update. Please what should I do? I really need help.
I omitted the css and js and this is what I have; its still giving the same problem When I minimize the window and try to use both span buttons, the sidebar will not open and the top navbar will open but will immediately close itself. Please what else have
I not not done. I am new to Javascript. please help
Member
66 Points
175 Posts
Javascript is not working anymore
Oct 31, 2020 07:50 PM|georgeakpan233|LINK
Hello Forum,
I recently updated my bootstrap to the latest version through the NuGet Package Manager and my Javascript is not working anymore. Before the update, the JavaScript on my web forms was working. The sidebar navigation could be closed and opened freely but since I updated the bootstrap, it has not been working again. Another issue is that I don’t know the previous version of bootstrap I had before the update. Please what should I do? I really need help.
Below is my HTML page, CSS and JavaScript
All-Star
58254 Points
15675 Posts
Re: Javascript is not working anymore
Oct 31, 2020 08:06 PM|bruce (sqlwork.com)|LINK
Why ref 3 different versions of bootstrap css. Also you include the js more than once.
Member
66 Points
175 Posts
Re: Javascript is not working anymore
Oct 31, 2020 09:03 PM|georgeakpan233|LINK
Hi bruce,
I omitted the css and js and this is what I have; its still giving the same problem When I minimize the window and try to use both span buttons, the sidebar will not open and the top navbar will open but will immediately close itself. Please what else have I not not done. I am new to Javascript. please help
Participant
1630 Points
930 Posts
Re: Javascript is not working anymore
Nov 02, 2020 02:37 AM|PaulTheSmith|LINK
I think that the intent of Bruce's post might have been to reduce the number of times that you include bootstrap to 1. You have brought it down to 2.
Javascript twice
and css twice
Also, you might want to check that the version of the .css and the version of the .js are the same/compatible.