title: Change text of a tag when an option selected using Javascript
body: <p>I want to make translations on my small site using Javascript.
  I would like to change tag content by its ID or smth like that. I am not sure how should I do, but I kinda understand how it works...
  I want to create files with strings &amp; translations for each langauge.</p>
  
  <p>So, there is a select tag which has who options...</p>
  
  <pre><code>    &lt;select&gt;
  &lt;option id="RU"&gt;Russian&lt;/option&gt;
  &lt;option id="EN"&gt;English&lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>And there is content which has to be translated dependingly on selected option...</p>
  
  <pre><code>&lt;div&gt;
  &lt;span id="stringName"&gt;Your Name EN&lt;/span&gt;: Viktor
  &lt;span id="stringPhone"&gt;Your Phone EN&lt;/span&gt;: +7 900 00 00 00
  &lt;span id="stringEmail"&gt;Your E-mail EN&lt;/span&gt;: the_great_russia@russia.ru
  &lt;/div&gt;
  </code></pre>
  
  <p>And localization files like...</p>
  
  <p><strong>ru.js</strong></p>
  
  <pre><code>stringName: "Your Name RU"
  stringPhone: "Your Phone RU"
  stringEmail: "Your E-mail RU"
  </code></pre>
  
  <p><strong>en.js</strong></p>
  
  <pre><code>stringName: "Your Name EN"
  stringPhone: "Your Phone EN"
  stringEmail: "Your E-mail EN"
  </code></pre>
  
  <p>I have searched for what I need, but couldn't find.</p>
  
  <p>Hope you will help me :) Thanks.</p>