I am having trouble using .find() as in console it says .find is not a function.
My code looks like:
$.get('/est.html', function(data) {
$.each(['rental', 'deposit', 'data', 'build'], function(i, key) {
$('#lot-' + key).html(data.find('#est-' + key));
});
}, 'html');
findis supposed to work on a jQuery object/selector. So wrap it with$