JQuery check if link is clicked not working
I have a bootstrap pagination. I want if a page was clicked just get a red background and stay. to show which page is currently active. the problem is when the page reloads after clicking, the background doesn't remain and…