So I have a fancy box with a link in it.
fancybox content:
<a href="#" class="precilink">preci description</a>
<div id="precitext">
text changed by clicking preci
</div>
Now I have this jquery up top:
$(".precilink").click(function(e){
e.preventDefault();
$('#precitext').html("hello");
});
But nothing happens, although in the dom the precitext id html gets change. How do I tell fancybox to reload?
for normal useage of fancybox, the link must point to the div. it may not be necessary in this case, but its worth a shot