Apparently the addOption() plugin doesn't like using $(this). I
thought I had tried that loop before, that was the reason. I am sure
there is a way to add and remove options without that plugin. Any
pointers on where to start there?
On Jan 29, 6:20 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
I will give that a try thanks.
On Jan 29, 6:20 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> Basically you can do this:
>
> $('select').each(function() {
> $(this).doWhatever() // will run the method doWhatever on the currently
> iterating select
>
> });
>
> -- Josh
>
> - Original Mes
Nevermind. I got it to work. Thanks for the tips. They helped.
On Jan 29, 6:20 pm, "Josh Nathanson" <[EMAIL PROTECTED]> wrote:
> Basically you can do this:
>
> $('select').each(function() {
> $(this).doWhatever() // will run the method doWhatever on the currently
> iterating select
>
> });
>
Basically you can do this:
$('select').each(function() {
$(this).doWhatever() // will run the method doWhatever on the currently
iterating select
});
-- Josh
- Original Message -
From: "RyanMC" <[EMAIL PROTECTED]>
To: "jQuery (English)"
Sent: Tuesday, January 29, 2008 3:38 PM
4 matches
Mail list logo