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

[eluser]gusst250[/eluser]
I've tried many ways and searched through many forums, but I found no answer to this, rather simple, problem.

In javascript (JQuery) I want to do the ajax-requet "load(...)".
Code:
$(document).ready(function(){
    $("#addNewFile").click(function(){
        $('#loadDiv').load( some_path );
    });
});
I googled to here 5 ways to make ajax calls with JQuery and decided that option #1 would suit for me.

What is the path to a: controller/method to put in my load("path")?`

(The js-file is in a sub-directory to application)


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



Theme © iAndrew 2016 - Forum software by © MyBB