Welcome Guest, Not a member yet? Register   Sign In
jquery and CI
#2

[eluser]Amitabh Roy[/eluser]
check this thread


http://ellislab.com/forums/viewthread/172363/

this should help you to set up jquery and js files


Passing values from jquery to controller can be done by various methods, it depends in which context you are asking. If you can elaborate more it would be helpful.

I generally pass values from jquery to CI controller's using the $.ajax method

Code:
serverData = some field values in firm of query string;
        }
    
     $.ajax({
           type: "POST",
            url: "<?php echo base_url();?>index.php/auth/authuser",
           data: serverData,
        success: function(msg){alert("Hi");}
              });

http://ellislab.com/forums/viewthread/190618/

You can check this post too

http://ericlbarnes.com/blog/post/codeign..._with_ajax


Messages In This Thread
jquery and CI - by El Forum - 07-08-2011, 05:18 AM
jquery and CI - by El Forum - 07-08-2011, 07:24 AM
jquery and CI - by El Forum - 07-08-2011, 09:34 AM
jquery and CI - by El Forum - 07-08-2011, 10:37 AM
jquery and CI - by El Forum - 07-08-2011, 01:13 PM
jquery and CI - by El Forum - 07-08-2011, 01:16 PM
jquery and CI - by El Forum - 07-08-2011, 01:18 PM
jquery and CI - by El Forum - 07-08-2011, 01:54 PM
jquery and CI - by El Forum - 07-09-2011, 02:56 AM
jquery and CI - by El Forum - 07-10-2011, 06:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB