Welcome Guest, Not a member yet? Register   Sign In
Links, Controllers in CodeIgniter
#4

[eluser]mackski[/eluser]
I would make sure all the pages you want to call via AJAX work as per normal, manually accessed.
If you really need to you can test your URLS by hard coding them in your ajax call like:

Code:
if ($("#startLoadTag")){
        $.ajax({
            type: "post",
            cache: false,
            //url: router + '/SampleLink.html',
            url: "http://www.domain.com/index.php/controller/method/var1",
            dataType: "html",
            success: function (html) {
                pageContentBody.html(html);
            }
        });
    }


Messages In This Thread
Links, Controllers in CodeIgniter - by El Forum - 12-16-2013, 03:36 PM
Links, Controllers in CodeIgniter - by El Forum - 12-26-2013, 03:16 PM
Links, Controllers in CodeIgniter - by El Forum - 12-26-2013, 03:26 PM
Links, Controllers in CodeIgniter - by El Forum - 12-28-2013, 05:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB