I need to update the href of a link (#product_buy) with a URL that can be found on another page inside the #product_buy_source div. Here's the jQuery.
$('body').ready(function(){
    $('#product_buy').attr('href', function(){
        $(this).load('http://cdn.jeremyblaze.com/theme_info.html #Altitude .product_buy_source');
    });
});
And here's the link that needs to be edited.
<a href="#" id="product_buy">Purchase</a>
I sense the jQuery I've used is completely wrong. Is anybody able to make it work? Here's a little fiddle
 
     
    