• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
AJAX Pagination

#1
[eluser]tokyotech[/eluser]
How do I use javascript functions in my pagination links?

Code:
$config['base_url'] = 'javazcript:getComments(';
$config['total_rows'] = '200';
$config['per_page'] = '20';

$this->pagination->initialize($config);
echo $this->pagination->create_links();

This produces links like: javazcript:getComments(/5, which is obviously wrong.

#2
[eluser]umefarooq[/eluser]
check this post for your problem

http://ellislab.com/forums/viewthread/129450/


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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