Welcome Guest, Not a member yet? Register   Sign In
ajax and php file not CI
#1

[eluser]Asinox[/eluser]
Hi, i need to do something..... i found a nice ajax+php+mysql calendar and i want to use it with my CI APP....

but... the question are:

in the JS file... ill do something like that:

var url = "http://raptitud/public/super_calendar.php?month="+month+"&year;="+year+"&event;="+evt;

Code:
function navigate(month,year,evt) {
    setFade(0);
    var url = "http://raptitud/public/super_calendar.php?month="+month+"&year;="+year+"&event;="+evt;
    if(window.XMLHttpRequest) {
        req = new XMLHttpRequest();
    } else if(window.ActiveXObject) {
        req = new ActiveXObject("Microsoft.XMLHTTP");
    }
    req.open("GET", url, true);
    req.onreadystatechange = callback;
    req.send(null);
}


or how ill pass the url of a super_calendar.php to my JS file in CI? where i need to put some file "no-CI"?

i dont know im try to put the file in the public folder... but i dont know if the url work:
http://domain/public/super_calendar.php?...etc

i dont know if im clear

sorry with my english

Thanks




Theme © iAndrew 2016 - Forum software by © MyBB