';
$(".filter-buy .dropdown-menu a").css("cursor", "pointer").on("click", function (event) {
event.preventDefault();
getTxtHouseBuyUnit(lat, lng, $(this).attr("data-min"), $(this).attr("data-max"), sign, 'nouserid', '', '', '', '');
$(this).parents('.dropdown-menu').addClass('hide');
});
$(".filter-rent .dropdown-menu a").css("cursor", "pointer").on("click", function (event) {
event.preventDefault();
getTxtHouseRentUnit(lat, lng, $(this).attr("data-min"), $(this).attr("data-max"), sign);
$(this).parents('.dropdown-menu').addClass('hide');
});
getTxtHouseBuyUnit(lat, lng, 0, 1000, sign, 'nouserid', '', '', '', '');
getTxtHouseRentUnit(lat, lng, 5000, 10000, sign, '');
function getTxtHouseBuyUnit(lat, lng, min, max, sign, userid, shopid, empno, email, v) {
$.ajax({
type: 'GET',
url: '/api/widgetresult/txthouseunit/' + lat + '/' + lng + '/' + min + '/' + max + '?sign=' + sign + '&userid=' + userid + '&shopid=' + shopid + '&empno=' + empno + '&email=' + email + '&v=' + v,
beforeSend: function () { $("#txtbuyunit").html(ajaxloader); }
}).done(function (data) {
$("#txtbuyunit").html(data);
});
}
function getTxtHouseRentUnit(lat, lng, min, max, sign, v) {
$.ajax({
type: 'GET',
url: '/api/widgetresult/txthouserentunit/' + lat + '/' + lng + '/' + min + '/' + max + '?sign=' + sign + '&v=' + v,
beforeSend: function () { $("#txtrentunit").html(ajaxloader); }
}).done(function (data) {
$("#txtrentunit").html(data);
});
}
This entry passed through the Full-Text RSS service — if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.
留言列表