jQuery - binding input
Simple binding with jQuery
by Rene Rubio
HTML
<input type='text' />
<p></p>
JavaScript
$( "input[type='text']" ).bind('change keydown keyup',function() {
$('p').html( $( this ).val() );
});
by Rene Rubio
<input type='text' />
<p></p>
$( "input[type='text']" ).bind('change keydown keyup',function() {
$('p').html( $( this ).val() );
});