I have a dropdown which i want to fill through jquery. Problem that i am facing is that i want to call a class function directly from jquery. eg
My class_function PHP class contains get_locations function. how can i call this get_locations function using jquery .post method without introducing a third page?
I have a dropdown which i want to fill through jquery. Problem that i
Share
The way I usually do that is to have an if statement at the top of the php page checking for a special mode.
jquery
PHP – near the top of the code