[Solved] Ajax pagination links triggers off canvas to open? |
I am now using ajax for my codeigniter pagination but when I click on my pagination links It triggers the off canvas to open
How can I prevent the off canvas to open when I click on my pagination links? PHP Code: <script type="text/javascript"> PHP Code: <script type="text/javascript"> PHP Code: <script type="text/javascript">
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
I solved it couple of things I have had to do
Is on the offcanvas script I had to remove the code that I had and just use PHP Code: $(document).ready(function() { And add e.preventDefault(); e.stopPropagation(); same with question-pag PHP Code: $(document).on("click", ".user-pag li a", function(e){
There's only one rule - please don't tell anyone to go and read the manual. Sometimes the manual just SUCKS!
|
Welcome Guest, Not a member yet? Register Sign In |