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?
Try this:
For jQuery 1.7+ use
on:Example fiddle
– Update August 2017 –
The
inputevent is now well supported, so you can use that in place of combining bothkeyupandpasteevents: