Lets say I have a file called functions.php, and it has two separate functions inside:
One would get the time
And the other would get the date
How will I
What is the response your are getting. You are getting the response in XML
or some other format. If your response is XML
try with this option.
$.ajax({
url:path,
data:{projectId:inpprojectId},
dataType:"xml",
success:function(data){
$(data).find("CheckAmount").each(function(){
total = $(this).find("TotalAmount").text();
usdAmt = $(this).find("PettyCashAmount").text();
validateBudget(total,inp);
});
}
});