Check selected Radio Button value using JavaScript.

Choose gender:

Male Female