JSFiddle - React, Tailwind, and code Playground
HTML
<input type="radio" name="sitechoice" value="www.websiteone.com">www.websiteone.com
<br />
<input type="radio" name="sitechoice" value="www.secondwebs.com">www.secondwebs.com
<p id="thing2"></p>
<textarea id="new_thing">
<p id="thing"></p>
</textarea>
CSS
select {
width: 300px;
}
textarea {
width: 300px;
height: 200px
}
JavaScript
$(document).ready(function () {
$("input").change(function () {
var website = $(this).val(); // Gets value of input
alert(website); // For proof something happened
$("textarea").html('<p id="thing">'+website+'</p>'); // Changes
$("#thing2").html(website); // Does not change
});
});