B
B
Berzeg2018-03-03 12:46:15
JavaScript
Berzeg, 2018-03-03 12:46:15

How to display radio button values?

How to output the val value of a checked radio button to an input and a paragraph?

<input name="radio" type="radio" value="5" >5
<input name="radio" type="radio" value="3" >3
<input name="radio" type="radio" value="535">535

<input type="text" name="price" id="inp">
<p id="text"></p>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bears, 2018-03-03
@Berzeg

https://jsfiddle.net/ovgkx0q9/1/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question