controller functions that are only accessible to jquery or ajax |
[eluser]Mirge[/eluser]
Keep your function accessible so that you can query it via AJAX, and in the controller itself, test if it's an ajax call via is_ajax_request(). See manual here, very bottom: http://ellislab.com/codeigniter/user-gui...input.html An example might be something like: Code: public function get_cities() |
Messages In This Thread |
controller functions that are only accessible to jquery or ajax - by El Forum - 11-08-2012, 10:23 PM
controller functions that are only accessible to jquery or ajax - by El Forum - 11-08-2012, 10:49 PM
controller functions that are only accessible to jquery or ajax - by El Forum - 11-09-2012, 01:05 AM
controller functions that are only accessible to jquery or ajax - by El Forum - 11-09-2012, 04:06 AM
|