title: MagnificPopup without button click
body: <p>I am using MagnificPopup to display a popup after loading something using jQuery's <code>get()</code> method. When the <code>get()</code> call completes, I want to display the popup below:</p>
  
  <pre><code>&lt;div id="tagsearch-popup" class="panel panel-default mfp-hide"&gt;
      &lt;div class="panel-heading"&gt;Tag Search&lt;/div&gt;
      &lt;div class="panel-body"&gt;
          &lt;div class="col-xs-12 no-padding"&gt;
              Example
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>This is the jQuery that I am using.</p>
  
  <pre><code>$.get(url, function (data) {
     success: {
        $("#recalculation-guid").html(data);
        // Display popup now
     }
  });
  </code></pre>
  
  <p>However, when I look through the MagnificPopup examples I can only find examples for binding the popup to a button. I want to create it programatically.</p>
  
  <p>How can I use MagnificPopup to convert the <code>&lt;div&gt;</code>s above into a popup without a button click?</p>