0

No value returned

Can anyone see what I'm doing wrong?

$.get(makeUrl('http://www.zillow.com/widgets/zestimate/ZestimateSmallWidget.htm?did=zillow-shv-small-iframe-widget&type=iframe&forRent=true&address=' + address.replace(/\ /g, '+') + '&csz=' + postcode), function(data) { var context = $('

').html($(data).find('content').text()); $('#avgRent').html($(context).find('span.zestimate-value').text());

                    });

The console tree gives me this under results:

results
        span
            0
            1
                class : zestimate-value
                id : zestimate-value
                content : $966

But I don't get a value. Should I be using something other than span.zestimate-value?

by
1 Reply

Recent Posts

in YQL