In Magnific Popup, I want to get an attribute in the link that is clicked and use it in a callback function (using callbacks: open) to make some changes in the DOM.
Also, inside open: function(item) {}, this.content might help.. It will return the div of the content being shown. useful with the change: function () {} as well. Hope it helps someone like me.