Access to XMLHttpRequest at 'https://happydesertsafari.com/happy-new/getLocations.php?getAll=true&_=1578818763165' from origin 'https://www.happydesertsafari.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
var dropdownData = [];
$.ajax({
url: 'getLocations.php',
dataType: "json",
data: 'getAll=true',
cache: false,
success: function(employeeData) {
dropdownData = employeeData
}
});