Hi, I am using the below method between the 50lines of JQuery Code. From the Json Result, I have to do the Further process. What it does is, When first time it is not calling the specified url and debuuger not hit inside to the JSon. After all the below code runs then, It fetches the result and debugger(inside Json Method) is also hit. Could you explain me, In which way it is working. whether it is because of AJAX Call it is allowing next code to run before completing it.
var specExists = false;
url = '/CompanyAdd/SpecMathesWithProvAndContract'; debugger
$.getJSON(url, { OffId: OffID, CntId: CntID }, function(data) {
debugger
if (data) { debugger
specExists = true;
} });
Thanks, Nizam