skip to Main Content

How to change the active in pagination? – Jquery

I have a pagination and I want the active class to be in color red. I have this code: script.js: $(".pagination").append("<li class='page-item' id='previous-page'><a class='page-link' href='javascript:void(0)' aria-label=Previous><span aria-hidden=true>&raquo;</span></a></li>"); $(".pagination").append("<li class='current-page active'><a class='page-link' href='javascript:void(0)'>" + 1 + "</a></li>"); for (var i =…

VIEW QUESTION

laravel 9 anchor button returning error 404

Im using an achor to click a button to navigate to other page. However, it doesnt work and return a 404 error not found. My destination blade is : inventory.blade.php: <a class="d-xl-flex align-items-xl-center" href="{{ url('inventory/add')}}" style="padding-right: 0px;margin-right: 15px;"><button class="btn btn-primary…

VIEW QUESTION
Back To Top
Search