Edit in JSFiddle

$(document).ready ( function(){
 
$(".mytext").keyup(function() {
         $('#contenInput').text($(".mytext").val());
});
 
});
<input type="text" class="mytext">
<p id="contenInput"></p>