Getting the value from a Radio Button

Getting the value from a Radio Button

Hi, how do i get the value from a radio button?? i tried using $('#myradiobutton').val() and it gives me a "undefined" message. Thanks for any help.