Сompound string from multiple input fields
<p>I have a 3 input fields. 2 for values and one fild for result.</p>

<pre><code>    &lt;input type="text" value="" id="name"&gt;
    &lt;input type="text" value="" id="surn"&gt;

    &lt;input type="text" value="" id="result"&gt;
</code></pre>

<p>In the results of the first two zancheniya fields must be joined.
For example</p>

<p>1 - John</p>

<p>2 - Smith</p>

<p>3 (result) John Smith</p>

<p>I have solution for one field <a href="http://jsfiddle.net/LvZdL/1/" rel="nofollow">http://jsfiddle.net/LvZdL/1/</a></p>

<pre><code>  $("input#name").keyup(function () {
      var name  = $(this).val();
      $("input#result").val(name);
  }).keyup();
</code></pre>
