I've researched this for a few days now and I can't seem to get a div from another page on my site to load in and empty div on my page. Ultimately I'm working towards the div results from another page opening up in a tooltip so that a user can select from a list of links but this is the first step.
I created a fiddle here http://jsfiddle.net/Learjet/3Mxcc/9/ and the external page that is necessary to do what I'm trying to do.
Is there something obvious here that I'm missing?
Here's the code
HTML
<div id="links"> <a href="http://jsfiddle.net/Learjet/VrQj3/" data="http://jsfiddle.net/Learjet/VrQj3/">Antioxidants</a>
</div>
<div id="results_after_hover">
<!-- Need Results after hover Here -->
</div>
JQuery:
$('#links a[href]').hover(function () {
$("div#results_after_hover").load('http://jsfiddle.net/Learjet/VrQj3/embedded/result');
});
Many thanks for your wisdom!
Humbly, EJ