se per premere un bottone intendi mentre scrivi:
$(document).ready(function() {
$('#idinputtext').keyup(function(){
$('#idDiv').html( $(this).val() );
});
});
se per premere un bottone intendi mentre scrivi:
$(document).ready(function() {
$('#idinputtext').keyup(function(){
$('#idDiv').html( $(this).val() );
});
});