JavaScript click button by value from chrome console
<p>I have the following page :</p>

<p><a href="https://i.stack.imgur.com/0SOAJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0SOAJ.png" alt="enter image description here"></a></p>

<p>And the following code for these elements:</p>

<pre><code>&lt;td align='left' height='20' width='null' valign='middle' &gt;
&lt;input type="submit"  name="BTN_SUBMIT0"  value="No"&gt;&lt;/td&gt;

    &lt;td align='right' height='20' width='null' valign='middle' &gt;
&lt;input type="submit"  name="BTN_SUBMIT0"  value="Yes"&gt;&lt;/td&gt;
</code></pre>

<p>How do I click a button from console using JavaScript not having its ID, but having its value ?</p>