A little bit tricky question.
I have a CartoDb Map, with lots of features with data filled using Mustache Template. Features data contains HyperLinks. Clicking on Hyperlinks opens a new tab and this is the problem.
I want clicking on those Hyperlinks show the needed data in Popup window. The issue here is that data filled by Mustache template seems to be filled in a separate DOM than the main one loaded with the entire web application. Which means any JS or JQuery library loaded for example cannot access any element id loaded by Mustache Template.