[eluser]jtrainaldi[/eluser]
Maybe someone would be able to assist me in this question that has some more experience with Codeigniter and jQuery.
First, let me describe my application. I have a simple user checkin/out application log website that tracks when users enter and leave a computer lab (user enters in their ID into a Kiosk machine). When you click on one of the log records a jQuery dialog box opens up and uses the .load() jQuery function to populate the HTML form with the information from the database. When the "Update" or "Add" buttons are clicked I am using the .ajax() jQuery function to submit the data to the database. I have created several methods in my controller that are responsible for displaying the form, updating single rows, updating the entire log list, etc. For example, function ajax_loadForm(), function ajax_loadSingleRow(), etc.
I would like to make these ajax methods hidden so you can't call them by entering in them through the URL. I am aware that you can add an underscore to the beginning of the function that will make it hidden but it then prevents my .ajax() or .load() jQuery function from using them.
Thank you in advance for any help on this. If you have a better technique to go about this please let me know.