<input type="radio" id="radio1" name="radiobuttons" value="100">
<input type="radio" id="radio2" name="radiobuttons" value="200">
<input type="radio" id="radio3" name="radiobuttons" value="300">
<div id="selectedvalue"></div>
How do I get value of the checked radio button and output it as text inside "selectedvalue" ? The function should take the value of the checked radio on pageload and on input change.