I'm trying to get value form label (radio) and value of radio button. When I click label or radio button, they value input into their respective textfield

o 1
• 2
o 3
o 4

 value radio    value label
____________   ______________
|    72    |   |     2      |
|__________|   |____________|


I try create on jsfiddle but not working, only value radio button insert into text field.

See FIDDLE

How do I create function?


Question: Is using PHP NuSOAP a bad idea?
Answer: I'm using Nusoap with php 5.2.5. Working great for me. But I never tested it with higher veersion.