Can jQuery synchronise or copy the text of one input field to another when input A is modified? For example:
<input id="input_A" type="text" /> ...If I type something here <input id="input_B" type="text" /> ... It will be copied here
Can jQuery Do this?
During writing, pasting, etc value will be copied. In jQuery < 1.7 instead on use bind.
on
bind
$( "#input_A" ).on( "paste keyup", function() { $( "#input_B" ).val( $( this ).val() ); });