Welcome Guest, Not a member yet? Register   Sign In
Where should I put this file?
#4

[eluser]whygod[/eluser]
Okay lets assume I'll put those codes in the controller as a method.
Is this the right jQuery codes to call the controller method from a view file?
[code]
$.get("<?php echo base_url('controller_name/getprogress.php') ?>", { uid: id, t: time }, function (data) {
//more codes here...
}
[code/]

Hope someone will give shed.
Thanks in advance.


Messages In This Thread
Where should I put this file? - by El Forum - 06-26-2013, 12:51 AM
Where should I put this file? - by El Forum - 06-26-2013, 01:20 AM
Where should I put this file? - by El Forum - 06-26-2013, 03:14 AM
Where should I put this file? - by El Forum - 06-26-2013, 03:19 AM
Where should I put this file? - by El Forum - 06-26-2013, 03:19 AM
Where should I put this file? - by El Forum - 06-26-2013, 09:58 PM



Theme © iAndrew 2016 - Forum software by © MyBB