Write the data of an inputText into another inputText

0

    
asked by anonymous 29.08.2016 / 17:11

1 answer

0

If it is at runtime (without reloading the page) it is best to use JQuery:

 <script> 
                jQuery(document).ready(function () {
                    jQuery('#idCampoOrigem').blur(function () { 
                        jQuery('#idCampoDestino').val(jQuery('#idCampoOrigem').val()); 
                    });
                });
            </script>
    
29.08.2016 / 18:21