On 1/9/07, Christopher Jordan <[EMAIL PROTECTED]> wrote:
>
> Hmm... It might be trivial, but that means I have to write code that will
> decide if an option is selected or not rather than passing a boolean.
>
> I used to be able to do this:
> $("##Classification_ID").addOption("myValue",
> "myOptionDisplay", (a[i].toUpperCase() == "RN"));
>
> The last bit would evaluate to a true or false, and either select the
> option or not. It's was a handy shortcut. Well, I'll overcome it.
>
> Jörn: I was able to get a small sample to break, but since it appears that
> what the dev folks want is for us to .append and .prepend, I'll do that.
> Whatever is faster. :o)
No, I just wanted to make sure you knew it was possible to do without
the plugin. I would encourage you to make it as simple on yourself as
possible. If you are already using the plugin, I wouldn't drop it.
Sometimes, bug fixes like the select element get overlooked and I just
wanted to try and spread the word. :)
If you could post a link to the actual plugin, I can setup a simple
test case and see if we can find the issue.
--
Brandon Aaron
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/