The SELECT's value is what you want:

    $("input[name='myselect']").val()

The only time you need to check is individual OPTIONs are selected is
if you have a multi-select list box.

Karl Rudd

On Tue, Dec 9, 2008 at 8:09 PM, JQueryProgrammer
<[EMAIL PROTECTED]> wrote:
>
> $("input[name='myselect'] option:selected").val(); is not working. It
> gives undefined. Can anyone please help.

Reply via email to