[jQuery] Getting Value from Radio Button

[jQuery] Getting Value from Radio Button


I have a radio button defined as:
<input type="radio" name="compare" class="comp" value="equal">
And the following jQuery code:
$('.comp').click(function(){
alert(reqsearch.compare.value);
});
There value it returns is undefined. How do I get it to return "equal"?