function getAllRecords(sub,code) { fetching = true; $.getJSON("/Search/SearchResultsJson/?sub=" + sub + "&code=" + code + "&callback=?", function (data) { debugger; alert('result') setupDone = true; fetching = false; $("#mapOverlay").hide(); $("#loadingLabel").hide(); if (firstSearch) { distanceWidget = new DistanceWidget({ map: map, distance: 1, // Starting distance in km. maxDistance: 4, // Twitter has a max distance of 2500km. color: '#000000', activeColor: '#5599bb', sizerIcon: 'Images/resize-off.png', activeSizerIcon: 'Images/resize.png' });
$.getJSON("/Search/SearchResultsJson?sub=" + sub + "&code=" + code + "&callback=?", function (data)
$.getJSON("/Search/SearchResultsJson?sub=" + sub + "&code=" + code + "", function (data)
$.getJSON("/Search/SearchResultsJson/", valdata, function (data) { });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)