Maybe something like the below (untested):
However, I'm not sure how your radio buttons are laid out. In my
example having only one radio button doesn't really make much sense
(you can't unselect it..), but hopefully you get the idea.

<textarea id="text1"></textarea>
<textarea id="text2"></textarea>

<input type="radio" name="myradio" id="myradio" value="1" /> Click Me

<script type="text/javascript">
$(function() {
     $("#myradio").click(function() {
          $("#text2").val( $("#text1").val() );
     });
});
</script>

On May 7, 12:54 am, ciupaz <luigi.zambe...@gmail.com> wrote:
> Hi all,
> having a form with a radio button and 2 textboxes, how can I make that
> when the user select one value of the radio button, the second textbox
> assume the same text value of the first textbox?
>
> Thanks in advance.
>
> Luigi

Reply via email to