How to change value of specified div which occur several times (Tampermonkey)
<p>I have no idea how to change value of specified inpu as I don't know the function which can change some element by its name attribute.</p>

<p>Example code:</p>

<pre><code>&lt;div class="form-group"&gt;
&lt;input type="text" name="name"&gt;
&lt;/div&gt;

&lt;div class="form-group"&gt;
&lt;input type="text" name="address"&gt;
&lt;/div&gt;

&lt;div class="form-group"&gt;
&lt;input type="text" name="price"&gt;
&lt;/div&gt;
</code></pre>

<p>Now, how can I change input value which has name "address" ?</p>

<p>If this could have "id" attribute then I would use this function</p>

<pre><code>document.getElementById("address").value = "162114";
</code></pre>

<p>but the problem is that source code doesn't use id attribute</p>

<p>any idea?</p>