Welcome Guest, Not a member yet? Register   Sign In
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.


Messages In This Thread
AJAX Pagination - by El Forum - 09-21-2009, 03:44 PM
AJAX Pagination - by El Forum - 09-21-2009, 10:45 PM



Theme © iAndrew 2016 - Forum software by © MyBB