Make a yes or no button in Popup/Dialoge


#1

I have 2 radio buttons
When I select one of the two radio buttons, should display the text of the selected radio button
(example : first radio button). Can anyone please provide the javascript code for the it.
Thank You