I have actually read all related answers to my question but I need a clear and simple example on how to properly implement my code below.
myHome.php
jquery
var url = "computeArea.php";
var data = $('thisForm').serialize();
$.post(url,data,function(response)); // how do i get the area being returned from  
                                       computeArea function? i need to save the 
                                       return value to a javascript variable
computeArea.php
function computeArea ($data){ // do i need to parse $data to make it an array?
    return $area;
}
im new to jquery and your help is very helpful. thank you!
 
     
     
     
    