����JFIF��x�x����'
Server IP : 66.29.137.217 / Your IP : 3.148.211.202 Web Server : LiteSpeed System : Linux premium294.web-hosting.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : gltevjme ( 1095) PHP Version : 7.0.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/gltevjme/./bofirmacademy.com/public/frontend/assets/js/custom/ |
Upload File : |
(function ($) { "use strict"; let loadMorePageCount; $(function () { loadMorePageCount = 1; }); $(document).on('click', '.loadMore', function () { var instructorCoursePaginateRoute = $('.instructorCoursePaginateRoute').val(); loadMorePageCount++; $.ajax({ type: "POST", url: instructorCoursePaginateRoute, data: { 'page': loadMorePageCount, '_token': $('meta[name="csrf-token"]').attr('content') }, datatype: "json", success: function (res) { if(res.status == true){ $('#appendInstructorCourses').append(res.data.appendInstructorCourses); if(res.lastPage == true){ $("#loadMoreBtn").removeClass('d-block') $("#loadMoreBtn").addClass('d-none') } } } }); }); let instructorLoadMorePageCount; $(function () { instructorLoadMorePageCount = 1; }); $(document).on('click', '.instructorLoadMore', function () { var organizationInstructorsPaginateRoute = $('.organizationInstructorsPaginateRoute').val(); instructorLoadMorePageCount++; $.ajax({ type: "POST", url: organizationInstructorsPaginateRoute, data: { 'page': instructorLoadMorePageCount, '_token': $('meta[name="csrf-token"]').attr('content') }, datatype: "json", success: function (res) { if(res.status == true){ $('#appendOrganizationInstructors').append(res.data.appendOrganizationInstructors); if(res.lastPage == true){ $("#organizationLoadMoreBtn").removeClass('d-block') $("#organizationLoadMoreBtn").addClass('d-none') } } } }); }); })(jQuery)