After clicking the radio button, the value from the radio button is not being passed when the onclick event is triggered. Here is my code: