• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter Pagination with AJAX JQuery on XAMPP

#5
(02-10-2019, 11:40 AM)lpeter Wrote: Hi, in case you didnt make any other errors in controller,  check the ajax call in your view:
kdkfkk
PHP Code:
function loadPagination(pagno){
 
      $.ajax({
 
        url'/post/loadRecord/'+pagno,
 
        type'get' 

The url will be your problem. Try it with a full url:
url : 'http://localhost/ci-pag/post/loadRecord/'+pagno
(also it is a good idea to open the url directly). 
If it works check Codeigniter constants for get your CI urls in all cases.

Hello I have replied you above :-)

and here I kindly ask you

how can be managed the "Codeigniter constants for get my CI urls in all cases" ?

Thank you
Reply


Messages In This Thread
RE: Codeigniter Pagination with AJAX JQuery on XAMPP - by Corsari - 02-12-2019, 12:02 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.