jquery - copy input text onblur if another input is also blank
<p>I'm trying to copy text from several inputs on the blur of one input IF a destination input is also blank, but can't get it working.  Any help would be appreciated.</p>

<pre><code>var n = $('#Zip1').val;
var m = $('#Cname').val;
$('#Zip1').on('focus', function () {
if (n.length === 0 &amp;&amp; m.length === 0) {
    $('#Cname').val($('#FName1').val &amp;&amp; ' ' &amp;&amp; $('#LName1').val);
    $('#Address').val($('#Address1').val);
    $('#City').val($('#City1').val);
    $('#Zip').val($('#Zip1').val);
}
});
</code></pre>

<p>Working (not quite) example: <a href="http://jsfiddle.net/4ZVTt/1/" rel="nofollow">http://jsfiddle.net/4ZVTt/1/</a></p>

<p>** ---------- UPDATE -----------------------**</p>

<p>Thanks everyone!  Here is the working example:</p>

<p><a href="http://jsfiddle.net/4ZVTt/6/" rel="nofollow">http://jsfiddle.net/4ZVTt/6/</a></p>
