title: Combine Javascript Variable
body: <p>I have set of markers in a map they are named like this ev1, ev2, ev3 etc.</p>
  
  <p>When I click a link i want a popup to be opened from the map, they are triggered like this,</p>
  
  <pre><code>ev1.openPopup();
  </code></pre>
  
  <p>But because I can't write popup code of each marker I got a jquery code like this</p>
  
  <pre><code>$(document).on('click', '.venname', function () {
  var myLinkId = $('.venname').attr('data-mylink'); 
      ev+myLinkId.openPopup();
  });
  </code></pre>
  
  <p>Once a link is clicked it will get an id called data-mylink and will combine it with ev, as an example when I click lick one, it'll have a attribute called 1 and the jquery code will get 1 and make the variavle ev1 and will trigger the popup, but somehow I can't get this thing to work and gets an error ev is not defined.</p>
  
  <p>So how can I combile ev with the variable myLinkID?</p>