I got following error
Method get_slotsAjax does not exist
my call in healper file
xmlhttp.open("GET","?option=com_ajax&module=quickcontact&method=get_slots&format=json",true);
my function call
public function get_slots()
{
....
}
Went by this documentation.
What am I Missing?
Your method name must end with "Ajax" as mentioned in the documentation.
For example:
So your method name would be as there in the error