oops, sorry for the double post.

On Oct 30, 7:36 pm, polskaya <[EMAIL PROTECTED]> wrote:
> $('.comp').click(function(){
> alert($('.comp').val());
>
> });
>
> On Oct 30, 2:31 pm, Snooze <[EMAIL PROTECTED]> wrote:
>
> > 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"?

Reply via email to