title: button onclick opening a wordpress shortcode
body: <p>Im trying to make a button opening a shortcode from the ultimate shortcode plugin.
  Here is my example:</p>
  
  <pre><code>&lt;button id="showInfo" onclick="showInfo()"&gt;Video&lt;/button&gt;
  </code></pre>
  
  <p>javascript:</p>
  
  <pre><code>var infoSC = '[su_lightbox_content id="showInfo"]Inline content[/su_lightbox_content]';
  
  function showInfoSC(){
    return infoSC;
  }
  </code></pre>
  
  <p>I want to open  a ligtbox based on the content of a post (advanced custom fields)</p>
  
  <pre><code>&lt;?php the_field('info'); ?&gt;
  </code></pre>
  
  <p>How can I get this to work?</p>