I have look at many web sites and many pages on Stackoverflow, but none of them has solved my problem yet. Simply, I have a hyperlink and I want to retrieve an
Better try
success: function (response) {
$.fancybox({
content: '
',
type: "html"
});
}
I wonder why you trying to load the content inside a fancybox container when you don't show any code where you already opened it. Anyways, it's always better to launch a new fancybox with the new content (from ajax response)
Of course, this will work if the ajax call is returning the correct response for your tag, but that I cannot tell.