Welcome Guest, Not a member yet? Register   Sign In
How to refer some files in CI from javascript
#1

[eluser]Navas[/eluser]
Hi i was referring to a project in php using jquery ! which i was trying to use it in my CI project. But i was struck inside one javascript which makes use of a php file named processor.php inside a directory and from that all process took place referring other class.

This function is located in global.js which used the jquery classes along with it.
Code:
function update_priority(drugli, newpri){
    id_split = drugli.split('_');
    id = id_split[1];    
    
    $.post("classes/processor.php",{
        priority: newpri,
        id: id
    });
    //alert("id:"+id+" pri:"+newpri);
}

Can anyone help me how to convert the "classes/processor.php" in to CI compatible one where that php file needs to be added..

Any suggestions will be helpful.


Messages In This Thread
How to refer some files in CI from javascript - by El Forum - 11-10-2007, 06:38 AM
How to refer some files in CI from javascript - by El Forum - 11-10-2007, 07:16 AM
How to refer some files in CI from javascript - by El Forum - 11-11-2007, 10:02 PM
How to refer some files in CI from javascript - by El Forum - 11-12-2007, 01:57 AM
How to refer some files in CI from javascript - by El Forum - 11-12-2007, 02:27 AM
How to refer some files in CI from javascript - by El Forum - 11-12-2007, 09:32 AM
How to refer some files in CI from javascript - by El Forum - 11-12-2007, 11:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB