Ariana

347 Propriétés
Trier par:

Compare listings

Comparer
document.addEventListener('DOMContentLoaded', function() { const searchForm = document.querySelector('form[role="search"]'); if (searchForm) { searchForm.addEventListener('submit', function(e) { const propertyIdInput = this.querySelector('input[name="property_id"]'); if (propertyIdInput) { const propertyId = propertyIdInput.value; // Modify the form action to include partial search const currentAction = this.action; const separator = currentAction.includes('?') ? '&' : '?'; this.action = `${currentAction}${separator}partial_property_id=${encodeURIComponent(propertyId)}`; } }); } });