Thankyou! works like a charm

On 8/30/07, Karl Rudd <[EMAIL PROTECTED]> wrote:
>
> Try using .text() on the selected option. e.g.:
>
>   $('select option:selected').text()
>
> Karl Rudd
>
> On 8/30/07, Duncan <[EMAIL PROTECTED]> wrote:
> >
> > I am struggling with getting the text label of the selected item in a
> > select box.
> >
> > $('##Suburb').attr("value") will give me the id (e.g. 4) of the suburb
> > drop down, but how do I get the label which would be "London" for
> > example.
> >
> > Thanks!
> >
> > --
> > Duncan I Loxton
> > [EMAIL PROTECTED]
> >
>


-- 
Duncan I Loxton
[EMAIL PROTECTED]

Reply via email to