Welcome Guest, Not a member yet? Register   Sign In
Can't use the ajax load method to access CI controller? or...
#2

[eluser]mah0001[/eluser]
simply pass the path to your controller, something like:
Code:
$(document).ready(function(){
    $("#addNewFile").click(function(){
        $('#loadDiv').load('your-controller/method');
    });
});


Messages In This Thread
Can't use the ajax load method to access CI controller? or... - by El Forum - 11-18-2009, 07:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB