AutoFill Text Box

AutoFill Text Box

I'm looking for a textbox Auto-fill script NOT an auto-complete script in jQuery. 

Here's is how it works:
1) Radiobutton and textbox on the page
2) Click the radio button
3) Auto fill text box with radio button value (or value defined in js)

Here is a version is just JS:

  1. function autoFill(input,output){
     document.forms[0].elements[output].value=input.value;
    }






Here's the radio button onClick code:
  1. <input type="radio" onclick="autoFill(this,'txtDoorStyle')" value="Door Half Transom (011)" name="doorstyle">

And the text box that gets autofilled:
  1. <input type="text" value="" id="txtDoorStyle" name="txtDoorStyle" >

I need a jQuery version that can autofill multiple textboxes with the same radio button value.

I have looked all over google and all I get are AUTO-COMPLETE textbox results, so now I am here, what better place?

Anyone have any leads or ideas?

THANKS!!!!