[jQuery] Re: mcDropDown - problem getting displayed value

2008-12-10 Thread Dan Switzer
Sean, I think you have your syntax missed up. You need: // initialize $("#modelFullName").mcDropdown("#modelMenu"); // get a copy of the object var mc = $("#modelFullName").mcDropdown(); // output the current value alert(mc.getValue()); -Dan On Mon, Dec 8, 2008 at 10:07 AM, Sean O <[EMAIL P

[jQuery] Re: mcDropDown - problem getting displayed value

2008-12-08 Thread Sean O
Dan Switzer wrote: > > Sean, > > The getValue() should do exactly what you need. It returns an array in > the format [value, label]. So the second element in the array is > exactly the value I believe you're after. > > -Dan > Dan, thanks. I'm able to get the label using [1], but the behavio

[jQuery] Re: mcDropDown - problem getting displayed value

2008-12-06 Thread Dan Switzer
Sean, On Fri, Dec 5, 2008 at 2:00 PM, Sean O <[EMAIL PROTECTED]> wrote: > .getValue() doesn't work, and would only return the rel attribute of > selection anyway. What I need is the displayed text. > > Ideas? Thanks. The getValue() should do exactly what you need. It returns an array in the form