programatically click on button using javascript
<p>on a webpage there is a "show more" button when I click inspect element appears</p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;input name="" id="" onclick="GetComments();" class="showMore showMoreNew" value=" المزيد" type="submit"&gt;</code></pre>
</div>
</div>
</p>

<p>I want to click it using JavaScript </p>