Welcome Guest, Not a member yet? Register   Sign In
Simple ajax call page??
#2

[eluser]mcr_rm[/eluser]
Is this your full controller?

If so you need to extend the base controller to pass in the $this->db object:

Code:
<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

class Ajax extends Controller
{
    function __construct()
    {
        parent::Controller();
    }
    
    function index()
    {

    }

}

Then you put your code in but I am pretty sure you need to tweak $_RQUEST as super globals aren't allowed and neither are $_GET. Is the jQuery validation script using $.post? if not you could write your own or amend it quite easily.


Messages In This Thread
Simple ajax call page?? - by El Forum - 01-13-2010, 02:46 PM
Simple ajax call page?? - by El Forum - 01-13-2010, 03:42 PM
Simple ajax call page?? - by El Forum - 01-13-2010, 03:52 PM
Simple ajax call page?? - by El Forum - 01-14-2010, 04:59 AM
Simple ajax call page?? - by El Forum - 01-14-2010, 05:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB