I am using Codeigniter framework and MVC structure . My problem is I don't what is to be given to the url in ajax call. This is my ajax call
$.ajax({
url://--what is to be given here?-- //
type: "GET",
data: {
'leftData': leftData,
'rigthData': rigthData,
'func':'editsuccess'
}
});
the above code I have written in multi_edit.php which is in views folder. The views folder is under application folder and the application folder is under Bunny. So Bunny is my web application name. I want to pass the the values leftData and rigthData to a function in catch() in multi.php which is under libraries. The libraries is under application. So what should be my url. And what should I write on other side to receive those values