I'm loading a website URL via REST. No problem, all good. But I just want to set the window variable when it is clicked. How do I properly pass the REST data variable to the script??
var ref = window.open(farmMarket_chosen.website_url, '_blank', 'location=yes');