<script>
function gotoMarketReport() {
let city = document.querySelector('.IDX-detailsAddressCity').innerText
city = city.replace(' ', '-')
window.location = 'http://clientsdomainname.idxbroker.com/idx/market-reports/a001/city/'+city+'-{{state}}'
}
</script>
<div id="marketreport"><input id="marketreportbtn" type="button" value="Market Report" onclick="gotoMarketReport()" /></div>
You will need to replace the clients domain name and the idxID to match the clients MLS.
(
0 rating, 0 votes, rated)
You need to be a registered member to rate this post.Loading...