Replace option value text from select with Javascript : <p>I need to replace the text English from option value with javascript. Code is next:</p>

<pre><code>&lt;div&gt;
&lt;select name="input_14" id="input_29_14"&gt;
&lt;option value="English"&gt;English&lt;/option&gt;
&lt;/select&gt;
&lt;/div&gt;
</code></pre>

<p>So this is what I tried:</p>

<pre><code>document.querySelector("div.selector option[value=English]").text = "Inglés";
</code></pre>

<p>But it doesn't change the text. Anyone can provide me an alternative function?</p>

<p>Thank you</p>
