title: how to use onchange="function(this.value)
body: <p>i want to change article language by a select field, so i gave the options different values, and now i can't find out how to write the function.
  Before i had have different buttons and it was easy. But now i have to do it for seven languages and i don't have enough space for the buttons. Hope somebody can help me. Many Thanks in advance.</p>
  
  <pre><code>    &lt;select id="langbtn" name="langbtn" onchange="language(this.value)"&gt;
                  &lt;option value=""&gt;language&lt;/option&gt;
                  &lt;option value="de"&gt;deutsch&lt;/option&gt;
                  &lt;option value="es"&gt;español&lt;/option&gt;
                  &lt;option value="jp"&gt;日本人&lt;/option&gt;
                  &lt;option value="pt"&gt;português&lt;/option&gt;
                  &lt;option Value="ru"&gt;русский&lt;/option&gt;
                  &lt;option value="cn"&gt;中国&lt;/option&gt;
                  &lt;option value="en"&gt;english&lt;/option&gt;
              &lt;/select&gt;
  
      function language() {
          if($(this).attr("value") == "de"){
                  $.get('article_de.html', function(data) {
                      $('#article_language').html(data);
                  })
                  $.get('newstext_de.html', function(data) {
                      $('#newstext_language').html(data);
                  })
          }
      }
  </code></pre>