[jQuery] Re: dynamically change size of select box

2008-07-14 Thread K Bouton
Thanks - worked great. On Jul 11, 8:33 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Does this work? > > $('#select_project').html(options).attr({ size: ''+dropsize }); > > -Mike > > p.s. I note that you're taking care to use double quotes for your HTML > attributes - that's a Good Thing.

[jQuery] Re: dynamically change size of select box

2008-07-11 Thread Michael Geary
Does this work? $('#select_project').html(options).attr({ size: ''+dropsize }); -Mike p.s. I note that you're taking care to use double quotes for your HTML attributes - that's a Good Thing. A suggestion: Instead of having to keep track of when to use double quotes for your JavaScript strin