Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Each IE problem
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Celso  
View profile  
 More options Jul 6, 10:00 am
From: Celso <cels...@gmail.com>
Date: Mon, 6 Jul 2009 07:00:06 -0700 (PDT)
Local: Mon, Jul 6 2009 10:00 am
Subject: Each IE problem

Why this only works in Firefox and not in IE?

$$('input').each(function(e){
        if(e.type == 'checkbox' && e.checked)
                $('tr-'+e.id).morph('checked');
        });

Thanks,
Celso


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ColinFine  
View profile  
 More options Jul 9, 9:11 am
From: ColinFine <colin.f...@pace.com>
Date: Thu, 9 Jul 2009 06:11:51 -0700 (PDT)
Local: Thurs, Jul 9 2009 9:11 am
Subject: Re: Each IE problem

On Jul 6, 3:00 pm, Celso <cels...@gmail.com> wrote:

> Why this only works in Firefox and not in IE?

> $$('input').each(function(e){
>         if(e.type == 'checkbox' && e.checked)
>                 $('tr-'+e.id).morph('checked');
>         });

> Thanks,
> Celso

*Please* don't say "doesn't work" or equivalent. That tells us
nothing. What actually happens?

That code looks OK to me, but are you sure that the 'tr'+id id's exist
and are unique?

Colin


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Walter Lee Davis  
View profile  
 More options Jul 9, 9:32 am
From: Walter Lee Davis <wa...@wdstudio.com>
Date: Thu, 9 Jul 2009 09:32:37 -0400
Local: Thurs, Jul 9 2009 9:32 am
Subject: Re: [Proto-Scripty] Re: Each IE problem
You could maybe do something less dependent on the local structure,  
using up():

$$('input[type="checkbox"]:checked').each(function(e){
        e.up('tr').morph('checked');

});

Walter

On Jul 9, 2009, at 9:11 AM, ColinFine wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google