I have:
<form>
<input id="A" name="B">
<input id="C" name="D">
</form>
And I need to set the second input equal to the first whenever the first input is changed. Something like:
$(function() {
$('input#A').change(function() {
$('input#C').val(this.text);
});
});