title: Add shortcode using javascript WordPress
body: <p>I am using WordPress and I have replace some content inside a div using Javascript. It is working. </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  var yourHTML = '&lt;div class="mydiv"&gt;Test&lt;/div&gt;';
  document.getElementsByClassName('services-right')[0].innerHTML = yourHTML;
  &lt;/script&gt;
  </code></pre>
  
  <p>Now I want to insert a shortcode <code>[jw_easy_logo slider_name="partners"]</code> but it is not working when I am inserting then nothing happen on front-end.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  var yourHTML = '&lt;div class="mydiv"&gt;[jw_easy_logo slider_name="partners"]&lt;/div&gt;';
  document.getElementsByClassName('services-right')[0].innerHTML = yourHTML;
  &lt;/script&gt;
  </code></pre>
  
  <p>Shortcode is not working but normal HTML is working.</p>