I've seen a few tutorials explanning how to do ajax things with jQuery and all of them from what I've seen was use a ajax jquery command to go see a .php file which is only the function you want. But I have a function.php while and I rather call my functions in the file I am working on or direct my ajax to a particular function in that file. Is any of that possible? Or do I really need a file per function like
jQuery.post(login.php ...
Thanks