how to transfer 2 input box text into 1.

how to transfer 2 input box text into 1.

I have 2 textbox's which have an id of address and zipcode   I would like to group those 2 values together into a 3rd textbox called aves in a format of "address, zipcode". Since these textboxs have no ititial value I think I should use the .text instead of .val method so as user types in the textbox it will display along in the 3rd. What I have so for is this code which does not work
 

<

script type="text/javascript">

$(document).ready(function () {

 

function update() {

             

$('#aves').text($('#address').text() + $('#zipcode').text());

}

           

$('#aves').keyup(update);

          

$('#aves').change(update);

         

 

});

 

</ script >
 
 
 
how can i fix this ?